Skip to content

Commit

Permalink
Add GH permissions
Browse files Browse the repository at this point in the history
- Add GH action permissions for testTKG job
Signed-off-by: Anna Babu Palathingal <[email protected]>
  • Loading branch information
annaibm committed Mar 14, 2024
1 parent b5016d0 commit 91b0bbd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/testTKG.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ on:
types: [created]
jobs:
testTKG:
permissions:
id-token: write
contents: read
issues: write
pull-requests: write
runs-on: ubuntu-latest
if: startsWith(github.event.comment.body, 'run tkg-test')
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
with:
ref: refs/pull/${{ github.event.issue.number }}/head

Expand Down

0 comments on commit 91b0bbd

Please sign in to comment.