Skip to content

Commit 30ef909

Browse files
openshift-pipelines-botsavitaashture
authored andcommitted
[bot:main] update konflux configuration
1 parent 7609a5d commit 30ef909

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+

.github/workflows/update-sources-next.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
22
name: update-sources-next
33

44
on:

0 commit comments

Comments
 (0)