Skip to content

Commit

Permalink
Add permissions to release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
C0urante committed Mar 26, 2024
1 parent af494e7 commit 27f76b3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ on:
description: "Hash of 'Release version x.y.z' commit"
required: true

permissions:
contents: write
pull-requests: write
issues: write

jobs:
build:
name: Create Release
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release_pr_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ on:
description: "Snapshot version '0.2.0-SNAPSHOT' (without 'v')"
required: true

permissions:
contents: write
pull-requests: write
issues: write

jobs:
create_release_pr:
name: Create release PR (job)
Expand Down

0 comments on commit 27f76b3

Please sign in to comment.