diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d35bf3db62..915da4851e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,6 +10,9 @@ on: pull_request: branches: [ main, maint-1.3 ] +permissions: + contents: read + concurrency: group: ${{ github.workflow }}-${{ github.event.number || github.run_id }} cancel-in-progress: true diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 784cde5753..81202ea757 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -9,6 +9,8 @@ on: schedule: - cron: '32 17 * * 0' +permissions: {} + concurrency: group: ${{ github.workflow }}-${{ github.event.number || github.run_id }} cancel-in-progress: true