Skip to content

Commit

Permalink
.github/workflow: use openshift-pipelines-robot token…
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester committed Oct 10, 2024
1 parent 4bae0c0 commit 157ac7a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/auto-approve-konflux-nudges.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
gh auth status
git config user.name openshift-pipelines-bot
git config user.email [email protected]
echo $GH_TOKEN | gh auth login --with-token
# Approve and merge pull-request with no reviews
for p in $(gh pr list --search "author:app/red-hat-konflux chore(deps) .*" --json "title,labels,number" | jq ".[] | select((.labels | length) == 0) | .number"); do
gh pr review $p --approve --body "/lgtm"
Expand All @@ -29,4 +28,4 @@ jobs:
gh pr review $p --approve --body "/lgtm"
done
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.OPENSHIFT_PIPELINES_ROBOT }}

0 comments on commit 157ac7a

Please sign in to comment.