Add a permissions block for generated workflows

Ensure that all workflows are able to write security events.
This commit is contained in:
Andrew Eisenberg 2022-01-31 16:11:00 -08:00
parent e9d52340a3
commit e9aa2c6f62
18 changed files with 37 additions and 1 deletions

View file

@ -32,6 +32,8 @@ jobs:
- nightly-latest
os: [ubuntu-latest, macos-latest]
name: Debug artifact upload
permissions:
security-events: write
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository