From 68ba5937522b337255dfe913126e4728310eb09f Mon Sep 17 00:00:00 2001 From: Tetsuo Koyama Date: Wed, 21 Aug 2024 00:55:46 +0900 Subject: [PATCH] Add update-pr-branch action to update PR branch --- .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 000000000..be89a8e80 --- /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