mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
ci: set top-level permissions as well
It should turn on the "restricted" mode by default regardless of whether the global setting is on or not. New jobs in this action should have to overwrite it explicitly to gain write access in any way. It should also make the action consistent with the other actions writing various stuff like 'labeler' and 'codeql'.
This commit is contained in:
parent
1a2620e8bd
commit
f3bd663faf
3
.github/workflows/issue_labeler.yml
vendored
3
.github/workflows/issue_labeler.yml
vendored
@ -5,6 +5,9 @@ on:
|
||||
issues:
|
||||
types: [ opened ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
label-component:
|
||||
runs-on: ubuntu-22.04
|
||||
|
Loading…
Reference in New Issue
Block a user