X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/9da42e27f1b789cdd94c56a1b57e01f9614b71a7..9ec942ea1da34cfb2d5f986b33e27b2be5699ce7:/.github/workflows/codeql-analysis.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 25bcc265..9bb10c38 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -9,6 +9,10 @@ on: schedule: - cron: '0 7 * * 4' +permissions: + contents: read # to fetch code (actions/checkout) + security-events: write + jobs: analyse: name: Analyse @@ -19,11 +23,11 @@ jobs: - name: Setup Java JDK uses: actions/setup-java@v3 with: - distribution: 'adopt' + distribution: 'zulu' java-version: 17 - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head.