diff --git a/.github/workflows/pr-update.yaml b/.github/workflows/pr-update.yaml new file mode 100644 index 0000000000..a701c5f10c --- /dev/null +++ b/.github/workflows/pr-update.yaml @@ -0,0 +1,21 @@ +name: PR update + +on: + push: + branches: + - 'main' +jobs: + autoupdate: + permissions: + pull-requests: write + runs-on: ubuntu-latest + steps: + - name: Automatically update PR + uses: adRise/update-pr-branch@437fab6e0ac7d2a668f2c479f64225edd7f303fd # v0.6.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + base: 'main' + required_approval_count: 1 + require_passed_checks: true + sort: 'updated' + direction: 'asc'