Add specific permissions to workflows under .github/workflows (#704)

* Restrict permissions for the GITHUB_TOKEN in .github/workflows/release.yml

* Restrict permissions for the GITHUB_TOKEN in .github/workflows/test.yml

Co-authored-by: Step Security <bot@stepsecurity.io>
This commit is contained in:
Varun SharmaandStep Security authored and GitHub committed 2022-02-19 22:53:11 -05:00
1 parent 496b2c02c5
commit 22e46b846c
2 files changed
+4

No files matched your search

+2
View File
@@ -19,6 +19,8 @@ on:
jobs:
test:
permissions:
contents: read
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false