Skip to content

Commit

Permalink
Restrict permissions for the GITHUB_TOKEN in .github/workflows/build.…
Browse files Browse the repository at this point in the history
…yml (#20)

Co-authored-by: Step Security <[email protected]>
  • Loading branch information
varunsh-coder and step-security-bot authored Sep 15, 2021
1 parent 8d2300f commit 28adf17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:

jobs:
release:
permissions:
contents: write
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down

0 comments on commit 28adf17

Please sign in to comment.