github: Move permissions to the individual jobs
SonarQube complains about workflow-level "allow" permissions.
This commit is contained in:
@@ -6,9 +6,6 @@ concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
actions: write
|
||||
|
||||
env:
|
||||
CCACHE_BASEDIR: ${{ github.workspace }}
|
||||
CCACHE_COMPRESS: true
|
||||
@@ -32,6 +29,8 @@ jobs:
|
||||
needs: pre-check
|
||||
if: ${{ needs.pre-check.outputs.should_skip != 'true' }}
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: write
|
||||
env:
|
||||
TEST: android
|
||||
# since the NDK might be newly installed, we have to use this to avoid cache misses
|
||||
|
||||
Reference in New Issue
Block a user