mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
ci(action): Assign permission as low as possible
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
c378e95ad6
commit
2fbcbc0eaf
1 changed files with 3 additions and 1 deletions
4
.github/workflows/static-code-analysis.yml
vendored
4
.github/workflows/static-code-analysis.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue