diff --git a/.github/workflows/approve_mysqldbdump_pr.yml b/.github/workflows/approve_mysqldbdump_pr.yml deleted file mode 100644 index 7167ef084b..0000000000 --- a/.github/workflows/approve_mysqldbdump_pr.yml +++ /dev/null @@ -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" diff --git a/.github/workflows/mysqldbdump.yml b/.github/workflows/mysqldbdump.yml index a5d626864e..866efb23e7 100644 --- a/.github/workflows/mysqldbdump.yml +++ b/.github/workflows/mysqldbdump.yml @@ -1,8 +1,7 @@ name: mysqldbdump on: - push: - branches: - - 'master' + schedule: + - cron: '0 8 * * *' jobs: mysqldbdump: name: mysqldbdump