Skip to content

Commit

Permalink
Add auto-update for PRs set to auto-merge (#2519)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel J. Beutel <[email protected]>
  • Loading branch information
charlesbvll and danieljanes authored Oct 16, 2023
1 parent e8223fd commit e89ec3b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/update-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: PR update

on:
push:
branches:
- 'main'
jobs:
autoupdate:
runs-on: ubuntu-latest
steps:
- name: Automatically update mergeable PRs
uses: adRise/[email protected]
with:
token: ${{ secrets.ACTION_USER_TOKEN }}
base: 'main'
required_approval_count: 1
require_passed_checks: true
require_auto_merge_enabled: true
sort: 'created'
direction: 'desc'

0 comments on commit e89ec3b

Please sign in to comment.