Skip to content

Commit

Permalink
chore(ci): add permissions to release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jeqo committed Jan 30, 2024
1 parent 9ace2c9 commit 700ceb7
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 @@ -7,6 +7,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 @@ -10,6 +10,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 700ceb7

Please sign in to comment.