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