Skip to content

Commit c00d570

Browse files
ci: update recurent events (#5480)
* ci: update recurent events * split events * . * . Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 9611a7f commit c00d570

File tree

2 files changed

+27
-18
lines changed

2 files changed

+27
-18
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Ocasional events
2+
3+
on:
4+
push:
5+
branches: [master, "release/*"]
6+
pull_request_target: {}
7+
8+
jobs:
9+
10+
# autoupdate is a GitHub Action that auto-updates pull requests branches whenever changes land on their destination branch.
11+
# see: https://github.com/marketplace/actions/auto-update
12+
pr-auto-update:
13+
name: Auto-update PR
14+
runs-on: ubuntu-18.04
15+
steps:
16+
- uses: docker://chinthakagodawita/autoupdate-action:v1
17+
# todo: this shall be resolved with https://github.com/chinthakagodawita/autoupdate/issues/100
18+
continue-on-error: true
19+
env:
20+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
21+
DRY_RUN: "false"
22+
PR_FILTER: "labelled"
23+
PR_LABELS: "0:] Ready-To-Go,has conflicts"
24+
MERGE_MSG: "Branch was auto-updated."
25+
RETRY_COUNT: "3"
26+
RETRY_SLEEP: "500"
Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: Recurrent events
22

33
on:
4-
push:
5-
branches: [master, "release/*"]
4+
push: {}
65

76
jobs:
87

@@ -19,19 +18,3 @@ jobs:
1918
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2019
MAX_RETRIES: 3
2120
WAIT_MS: 5000
22-
23-
# autoupdate is a GitHub Action that auto-updates pull requests branches whenever changes land on their destination branch.
24-
# see: https://github.com/marketplace/actions/auto-update
25-
pr-auto-update:
26-
name: Auto-update PR
27-
runs-on: ubuntu-18.04
28-
steps:
29-
- uses: docker://chinthakagodawita/autoupdate-action:v1
30-
env:
31-
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
32-
DRY_RUN: "false"
33-
PR_FILTER: "labelled"
34-
PR_LABELS: "0:] Ready-To-Go"
35-
MERGE_MSG: "Branch was auto-updated."
36-
RETRY_COUNT: "3"
37-
RETRY_SLEEP: "500"

0 commit comments

Comments
 (0)