Skip to content

Commit a318d6d

Browse files
author
openshift-pipelines-bot
committed
[bot:main] update konflux configuration
1 parent cbd0348 commit a318d6d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/auto-merge-upstream-release-v1.21.x.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: auto-merge-upstream-release-v1.21.x
33

44
on:
55
workflow_dispatch: {}
6-
# schedule:
7-
# - cron: "*/30 * * * *" # At every 30 minutes
6+
schedule:
7+
- cron: "*/30 * * * *" # At every 30 minutes
88

99
jobs:
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

0 commit comments

Comments
 (0)