Add update-pr-branch action to update PR branch (#249) #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR update | |
on: | |
push: | |
branches: | |
- "main" | |
jobs: | |
autoupdate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Automatically update PR | |
uses: adRise/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
base: "main" | |
required_approval_count: 1 | |
require_passed_checks: false | |
sort: "created" | |
direction: "desc" | |
require_auto_merge_enabled: true |