chore: set codeql permissions

Signed-off-by: Joyce <joycebrum@google.com>
This commit is contained in:
Joyce 2023-03-09 14:54:54 -03:00 committed by GitHub
parent 9d3b6c024a
commit 9d090b57d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,9 @@ on:
schedule:
- cron: '0 19 * * 1'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
@ -19,6 +22,8 @@ jobs:
CodeQL-Build:
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Checkout repository