Skip to content

Commit 71a218e

Browse files
committed
Use a PAT (BOT_TOKEN) instead of GITHUB_TOKEN to trigger the 'lgtm-gatekeeper' workflow.
Signed-off-by: Revital Sur <eres@il.ibm.com>
1 parent 6692afe commit 71a218e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/lgtm-commad.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
- name: Apply Label & Merge
9797
if: steps.check.outputs.authorized == 'true'
9898
env:
99-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
99+
GH_TOKEN: ${{ secrets.BOT_TOKEN }}
100100
PR_NUMBER: ${{ github.event.client_payload.github.payload.issue.number }}
101101
PR_URL: ${{ github.event.client_payload.github.payload.issue.html_url }}
102102
run: |

.github/workflows/prow-github.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- uses: jpmcb/prow-github-actions@v2.0.0
2020
with:
21-
github-token: "${{ secrets.GITHUB_TOKEN }}"
21+
github-token: "${{ secrets.BOT_TOKEN }}"
2222
prow-commands: "/assign
2323
/unassign
2424
/approve

0 commit comments

Comments
 (0)