ci(action): Assign permission as low as possible

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2026-01-27 14:56:50 +01:00
parent c378e95ad6
commit 2fbcbc0eaf
No known key found for this signature in database
GPG key ID: F72FA5B49FFA96B0

View file

@ -15,7 +15,6 @@ on:
permissions:
contents: read
security-events: write
concurrency:
group: static-code-analysis-${{ github.head_ref || github.run_id }}
@ -59,6 +58,9 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
permissions:
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8