From e418b00f5e823eb8bcb10cb5c39f8a896921b33f Mon Sep 17 00:00:00 2001 From: Mathias Preiner Date: Wed, 10 Mar 2021 16:09:27 -0800 Subject: Add GitHub action to automatically update approved PRs. (#6114) --- .github/workflows/update_pr.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/update_pr.yml (limited to '.github') diff --git a/.github/workflows/update_pr.yml b/.github/workflows/update_pr.yml new file mode 100644 index 000000000..ae58b7a8e --- /dev/null +++ b/.github/workflows/update_pr.yml @@ -0,0 +1,16 @@ +name: PR update + +on: + push: + branches: + - 'master' +jobs: + autoupdate: + runs-on: ubuntu-latest + steps: + - name: Automatically update PR + uses: adRise/update-pr-branch@v0.4.0 + with: + token: ${{ secrets.ACTION_USER_TOKEN }} + base: 'master' + required_approval_count: 1 -- cgit v1.2.3