Skip to content

Commit

Permalink
Merge pull request #167 from Aiven-Open/jeqo/fix-release-workflow-per…
Browse files Browse the repository at this point in the history
…missions

chore(ci): add permissions to release workflows
  • Loading branch information
tvainika authored Jan 30, 2024
2 parents 9ace2c9 + 700ceb7 commit 6857029
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 6857029

Please sign in to comment.