File tree Expand file tree Collapse file tree 2 files changed +33
-6
lines changed Expand file tree Collapse file tree 2 files changed +33
-6
lines changed Original file line number Diff line number Diff line change
1
+ # Generated for Konflux Application openshift-pipelines-core-1.17 by openshift-pipelines/hack. DO NOT EDIT
2
+ name : auto-merge-upstream-release-v1.17.x
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-release-v1.17.x
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-release-v1.17.x" --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 by openshift-pipelines/hack. DO NOT EDIT.
1
+ # Generated for Konflux Application openshift-pipelines-core-1.17 by openshift-pipelines/hack. DO NOT EDIT
2
2
name : update-sources-release-v1.17.x
3
3
4
4
on :
5
5
workflow_dispatch : {}
6
- schedule :
7
- - cron : " 0 1 * * 1 " # At 1AM every monday
6
+ # schedule:
7
+ # - cron: "0 1 * * * " # At 1AM everyday
8
8
9
9
jobs :
10
10
27
27
pushd upstream
28
28
git checkout -B release-v0.29.x origin/release-v0.29.x
29
29
popd
30
-
31
-
32
30
- name : Commit new changes
33
31
run : |
34
32
git config user.name openshift-pipelines-bot
46
44
git rev-parse HEAD > ../head
47
45
popd
48
46
rm -rf upstream/.git
49
- git add -f upstream head
47
+ git add -f upstream head .konflux
50
48
51
49
if [[ -z $(git status --porcelain --untracked-files=no) ]]; then
52
50
echo "No change, exiting"
You can’t perform that action at this time.
0 commit comments