Skip to content

Commit bd49a51

Browse files
authored
Merge pull request #80 from gomesjason/main
Add write permissions to create releases and bump chart releaser version
2 parents f179ec6 + 55276ea commit bd49a51

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/helm-chart-release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99

1010
jobs:
1111
release:
12+
permissions:
13+
contents: write # Needed for creating and editing releases
1214
runs-on: ubuntu-latest
1315
steps:
1416
- name: Checkout
@@ -20,7 +22,7 @@ jobs:
2022
git config user.name "$GITHUB_ACTOR"
2123
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
2224
- name: Run chart-releaser
23-
uses: helm/chart-releaser-action@v1.2.1
25+
uses: helm/chart-releaser-action@v1.6.0
2426
env:
2527
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
2628
with:

.github/workflows/release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
77
jobs:
88
build:
9+
permissions:
10+
contents: write # Needed for creating and editing releases
911
name: Release
1012
runs-on: ubuntu-latest
1113
steps:

0 commit comments

Comments
 (0)