schedule github action for edxapp schema dump (#25312)
This commit is contained in:
26
.github/workflows/approve_mysqldbdump_pr.yml
vendored
26
.github/workflows/approve_mysqldbdump_pr.yml
vendored
@@ -1,26 +0,0 @@
|
||||
# Used to auto approve/merge PRs for mysqldbdump
|
||||
name: Automerge mysqldbdump PR
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- labeled
|
||||
pull_request_review:
|
||||
types:
|
||||
- submitted
|
||||
jobs:
|
||||
approve_and_merge:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.actor == 'edx-deployment' && github.event.label.name == 'mysqldbdump'
|
||||
steps:
|
||||
- uses: hmarr/auto-approve-action@7782c7e2bdf62b4d79bdcded8332808fd2f179cd
|
||||
with:
|
||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
- name: automerge
|
||||
uses: "pascalgn/automerge-action@7ab42e888a333bf77ce865bc84fedc6a365a3548"
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
MERGE_LABELS: "mysqldbdump"
|
||||
MERGE_FILTER_AUTHOR: "edx-deployment"
|
||||
MERGE_METHOD: "merge"
|
||||
5
.github/workflows/mysqldbdump.yml
vendored
5
.github/workflows/mysqldbdump.yml
vendored
@@ -1,8 +1,7 @@
|
||||
name: mysqldbdump
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
schedule:
|
||||
- cron: '0 8 * * *'
|
||||
jobs:
|
||||
mysqldbdump:
|
||||
name: mysqldbdump
|
||||
|
||||
Reference in New Issue
Block a user