Skip to content

Commit

Permalink
Merge pull request #108 from Aiven-Open/jjaakola-aiven-fix-create-per…
Browse files Browse the repository at this point in the history
…missions-for-pr-and-release-workflows

Fix create permissions for pr and release workflows
  • Loading branch information
staaldraad authored Apr 12, 2024
2 parents bf1026c + a798c79 commit 8c20a43
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ on:
commit_hash:
description: "Hash of 'Release version x.y.z' commit"
required: true
permissions:
contents: write
pull-requests: write

permissions:
contents: write
pull-requests: write

jobs:
build:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release_pr_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ on:
snapshot_version:
description: "Snapshot version '0.2.0-SNAPSHOT' (without 'v')"
required: true
permissions:
contents: write
pull-requests: write

permissions:
contents: write
pull-requests: write

jobs:
create_release_pr:
Expand Down

0 comments on commit 8c20a43

Please sign in to comment.