mirror of
https://github.com/borgbackup/borg.git
synced 2026-02-18 18:19:16 -05:00
ci: add top-level permissions for least-privilege security, fixes #9344
This commit is contained in:
parent
e7ad8ef54b
commit
3349cdcc1e
1 changed files with 3 additions and 0 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -25,6 +25,9 @@ concurrency:
|
|||
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue