File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ name: auto-merge-upstream-release-v1.21.x
33
44on :
55 workflow_dispatch : {}
6- # schedule:
7- # - cron: "*/30 * * * *" # At every 30 minutes
6+ schedule :
7+ - cron : " */30 * * * *" # At every 30 minutes
88
99jobs :
1010 auto-approve :
@@ -17,11 +17,13 @@ jobs:
1717 uses : actions/checkout@v4
1818 - name : auto-merge-upstream-release-v1.21.x
1919 run : |
20- set -x
20+ gh auth status
21+ git config user.name openshift-pipelines-bot
22+ git config user.email pipelines-extcomm@redhat.com
2123 # Approve and merge pull-request with no reviews
2224 for p in $(gh pr list --search "head:actions/update/sources-release-v1.21.x" --json "number" | jq ".[].number"); do
2325 gh pr merge --rebase --delete-branch --auto $p
2426 done
2527 env :
26- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28+ GH_TOKEN : ${{ secrets.OPENSHIFT_PIPELINES_ROBOT }}
2729
You can’t perform that action at this time.
0 commit comments