Skip to content

Commit

Permalink
ci(fix): set permissions for release-please workflow (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
netr0m authored Jul 1, 2024
1 parent aff631d commit ee4b5e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/on-push-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ jobs:
name: Create release-please PR
uses: ./.github/workflows/release-please.yaml
secrets: inherit
permissions:
contents: write
pull-requests: write
4 changes: 4 additions & 0 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
description: The Release tag (e.g. v1.0.0)
value: ${{ jobs.release-please.outputs.tag_name }}

permissions:
contents: write
pull-requests: write

jobs:
release-please:
name: release-please
Expand Down

0 comments on commit ee4b5e7

Please sign in to comment.