Skip to content

Commit c1474ba

Browse files
committed
Kubernetes: Fix KubeCheck workflow permissions and update GITHUB_TOKEN reference for comment script
Signed-off-by: NotHarshhaa <[email protected]>
1 parent 198c558 commit c1474ba

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: .github/workflows/kubecheck.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: KubeCheck 🔍
22

3+
permissions:
4+
contents: read
5+
pull-requests: write
6+
37
on:
48
push:
59
paths:
@@ -131,7 +135,7 @@ jobs:
131135
- name: Comment on commit
132136
working-directory: ${{ github.workspace }}
133137
env:
134-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
138+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
135139
SHA: ${{ needs.fetch_commit_info.outputs.sha }}
136140
COMMIT_MSG: ${{ needs.fetch_commit_info.outputs.message }}
137141
COMMIT_TIME: ${{ needs.fetch_commit_info.outputs.timestamp }}

0 commit comments

Comments
 (0)