Skip to content

Commit

Permalink
Add package write permissions to build/release workflows (#858)
Browse files Browse the repository at this point in the history
  • Loading branch information
a13x5 authored Jan 3, 2025
1 parent a0b1e6a commit 808c43a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
version: ${{ steps.vars.outputs.version }}
clustername: ${{ steps.vars.outputs.clustername }}
pr: ${{ steps.pr.outputs.result }}
permissions:
packages: write
steps:
- name: Get PR ref
uses: actions/github-script@v7
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
tags:
- "*"

permissions:
packages: write

jobs:
release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 808c43a

Please sign in to comment.