Skip to content

Commit

Permalink
fix: permissions in workflows (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnson2427 authored May 8, 2024
1 parent 5aaad77 commit ce7b502
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/draft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
jobs:
update-draft:
runs-on: ubuntu-latest

permissions:
contents: write

steps:
# Drafts your next Release notes as Pull Requests are merged into "main"
- uses: release-drafter/release-drafter@v5
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:

runs-on: ubuntu-latest

permissions:
contents: write

steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit ce7b502

Please sign in to comment.