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>
This commit is contained in:
Jirka Borovec 2021-01-12 15:53:41 +01:00 committed by GitHub
parent 9611a7f897
commit c00d5709c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 18 deletions

26
.github/workflows/events-ocasional.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: Ocasional events
on:
push:
branches: [master, "release/*"]
pull_request_target: {}
jobs:
# autoupdate is a GitHub Action that auto-updates pull requests branches whenever changes land on their destination branch.
# see: https://github.com/marketplace/actions/auto-update
pr-auto-update:
name: Auto-update PR
runs-on: ubuntu-18.04
steps:
- uses: docker://chinthakagodawita/autoupdate-action:v1
# todo: this shall be resolved with https://github.com/chinthakagodawita/autoupdate/issues/100
continue-on-error: true
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
DRY_RUN: "false"
PR_FILTER: "labelled"
PR_LABELS: "0:] Ready-To-Go,has conflicts"
MERGE_MSG: "Branch was auto-updated."
RETRY_COUNT: "3"
RETRY_SLEEP: "500"

View File

@ -1,8 +1,7 @@
name: Recurrent events
on:
push:
branches: [master, "release/*"]
push: {}
jobs:
@ -19,19 +18,3 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAX_RETRIES: 3
WAIT_MS: 5000
# autoupdate is a GitHub Action that auto-updates pull requests branches whenever changes land on their destination branch.
# see: https://github.com/marketplace/actions/auto-update
pr-auto-update:
name: Auto-update PR
runs-on: ubuntu-18.04
steps:
- uses: docker://chinthakagodawita/autoupdate-action:v1
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
DRY_RUN: "false"
PR_FILTER: "labelled"
PR_LABELS: "0:] Ready-To-Go"
MERGE_MSG: "Branch was auto-updated."
RETRY_COUNT: "3"
RETRY_SLEEP: "500"