Skip to content

Commit

Permalink
fix action permissions (#717)
Browse files Browse the repository at this point in the history
  • Loading branch information
freeznet committed Jan 22, 2024
1 parent 9035b01 commit 056d9b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release-note.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
# Only following types are handled by the action, but one can default to all as well
types: [ opened, reopened, synchronize ]

permissions:
contents: read

jobs:
update_release_draft:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
release:
types: [created]

permissions:
contents: write

jobs:
upload:
if: startsWith(github.ref, 'refs/tags/v')
Expand Down

0 comments on commit 056d9b0

Please sign in to comment.