Skip to content

Commit

Permalink
specify workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
LBlend committed Jan 15, 2025
1 parent e5f5d64 commit 01adecc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/PythonLint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ jobs:
run: |
pip install flake8
flake8 --max-line-length=120 --show-source
permissions:
contents: read
pull-requests: write
3 changes: 3 additions & 0 deletions .github/workflows/dockerpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ jobs:
tags: |
ghcr.io/lblend/normantle:latest
ghcr.io/lblend/normantle:${{ github.event.release.tag_name }}
permissions:
contents: read
pull-requests: write

0 comments on commit 01adecc

Please sign in to comment.