From 951b69891851ec0e27710ec961800eabc84c615b Mon Sep 17 00:00:00 2001 From: Tetsuo Koyama Date: Fri, 3 May 2024 23:14:46 +0900 Subject: [PATCH] Add update-pr-branch action to update PR branch (#249) --- .github/workflows/update-pr-branch.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/update-pr-branch.yml diff --git a/.github/workflows/update-pr-branch.yml b/.github/workflows/update-pr-branch.yml new file mode 100644 index 00000000..be89a8e8 --- /dev/null +++ b/.github/workflows/update-pr-branch.yml @@ -0,0 +1,20 @@ +name: PR update + +on: + push: + branches: + - "main" +jobs: + autoupdate: + runs-on: ubuntu-latest + steps: + - name: Automatically update PR + uses: adRise/update-pr-branch@v0.7.2 + with: + token: ${{ secrets.GITHUB_TOKEN }} + base: "main" + required_approval_count: 1 + require_passed_checks: false + sort: "created" + direction: "desc" + require_auto_merge_enabled: true