Skip to content

Commit

Permalink
Add autoupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
wsanchez committed Mar 26, 2024
1 parent e8a2264 commit ba2da3d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/autoupdate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Update branch for PRs that are passing and approved for merging

on:
schedule:
- cron: "0 4 * * *" # Daily at 4am

jobs:
update-branches:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Update branches
uses: brainly/[email protected]
id: autoUpdateBranch
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
requiredPassedChecks: 1
requiredApprovals: 1
update-limits: 2

0 comments on commit ba2da3d

Please sign in to comment.