Skip to content

Commit 1899bb0

Browse files
committed
update
1 parent 6bca873 commit 1899bb0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/headlamp.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
build:
2626
needs: find_plugin_dirs
2727
runs-on: ubuntu-latest
28+
permissions:
29+
contents: write
2830

2931
defaults:
3032
run:
@@ -50,8 +52,6 @@ jobs:
5052
npx @kinvolk/headlamp-plugin@$HEADLAMP_PLUGIN_VERSION tsc ${{ matrix.dir }}
5153
- env:
5254
GH_TOKEN: ${{ github.token }}
53-
permissions:
54-
contents: write
5555
only:
5656
- push:
5757
branches: [main]
@@ -63,3 +63,5 @@ jobs:
6363
ls -l ${{ matrix.dir }}/dist
6464
gh release create "$tag_name" ${{ matrix.dir }}/dist/* --title "Release $tag_name" --notes "Release $tag_name"
6565
fi
66+
67+

0 commit comments

Comments
 (0)