Add a permissions block for generated workflows
Ensure that all workflows are able to write security events.
This commit is contained in:
parent
e9d52340a3
commit
e9aa2c6f62
18 changed files with 37 additions and 1 deletions
2
.github/workflows/__javascript-source-root.yml
generated
vendored
2
.github/workflows/__javascript-source-root.yml
generated
vendored
|
|
@ -26,6 +26,8 @@ jobs:
|
|||
version: [latest, cached, nightly-latest] # This feature is not compatible with old CLIs
|
||||
os: [ubuntu-latest]
|
||||
name: Custom source root
|
||||
permissions:
|
||||
security-events: write
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Check out repository
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue