Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add necessary permission to release workflows #310

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
issues: write
pull-requests: write

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

permissions:
contents: write
pull-requests: write

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