File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change
1
+ # Generated for Konflux Application openshift-pipelines-core-next by openshift-pipelines/hack. DO NOT EDIT
2
+ name : auto-merge-upstream-next
3
+
4
+ on :
5
+ workflow_dispatch : {}
6
+ schedule :
7
+ - cron : " */30 * * * *" # At every 30 minutes
8
+
9
+ jobs :
10
+ auto-approve :
11
+ runs-on : ubuntu-latest
12
+ if : github.repository_owner == 'openshift-pipelines' # do not run this elsewhere
13
+ permissions :
14
+ pull-requests : write
15
+ steps :
16
+ - name : Checkout the current repo
17
+ uses : actions/checkout@v4
18
+ - name : auto-merge-upstream-next
19
+ run : |
20
+ gh auth status
21
+ git config user.name openshift-pipelines-bot
22
+ git config user.email [email protected]
23
+ # Approve and merge pull-request with no reviews
24
+ for p in $(gh pr list --search "head:actions/update/sources-next" --json "number" | jq ".[].number"); do
25
+ gh pr merge --rebase --delete-branch --auto $p
26
+ done
27
+ env :
28
+ GH_TOKEN : ${{ secrets.OPENSHIFT_PIPELINES_ROBOT }}
29
+
Original file line number Diff line number Diff line change 1
- # Generated for Release next by openshift-pipelines/hack. DO NOT EDIT.
1
+ # Generated for Konflux Application openshift-pipelines-core- next by openshift-pipelines/hack. DO NOT EDIT
2
2
name : update-sources-next
3
3
4
4
on :
You can’t perform that action at this time.
0 commit comments