schedule github action for edxapp schema dump (#25312)

This commit is contained in:
Nadeem Shahzad
2020-10-09 23:07:40 +05:00
committed by GitHub
parent 7c8ac06c81
commit ad26498a0d
2 changed files with 2 additions and 29 deletions

View File

@@ -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"

View File

@@ -1,8 +1,7 @@
name: mysqldbdump
on:
push:
branches:
- 'master'
schedule:
- cron: '0 8 * * *'
jobs:
mysqldbdump:
name: mysqldbdump