needed perms for running workflows against forks (#1348)

Co-authored-by: ahrav <ahravdutta02@gmail.com>
This commit is contained in:
Mike Vanbuskirk 2023-05-19 15:31:20 -04:00 committed by GitHub
parent 1da7720912
commit 1d9d6b6039
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,7 @@ jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
actions: 'read'
contents: 'read' contents: 'read'
id-token: 'write' id-token: 'write'
steps: steps:
@ -32,6 +33,7 @@ jobs:
test-detectors: test-detectors:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
actions: 'read'
contents: 'read' contents: 'read'
id-token: 'write' id-token: 'write'
steps: steps:
@ -49,4 +51,3 @@ jobs:
- name: Test - name: Test
run: make test-detectors run: make test-detectors
continue-on-error: true continue-on-error: true