Update branch for PRs that are passing and approved for merging #697
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: Update branch for PRs that are passing and approved for merging | |
on: | |
schedule: | |
- cron: "40 * * * *" # Hourly at :55 | |
jobs: | |
update-branches: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Update branches | |
uses: brainly/action-autoupdate-branch@2.1.1 | |
id: autoUpdateBranch | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
requiredPassedChecks: 1 | |
requiredApprovals: 1 | |
update-limits: 2 |