mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
Auto-update PRs which are enabled for auto-merging (#3766)
This commit is contained in:
parent
18af55ed49
commit
0a9bcd5407
1 changed files with 21 additions and 0 deletions
21
.github/workflows/pr-update.yaml
vendored
Normal file
21
.github/workflows/pr-update.yaml
vendored
Normal file
|
@ -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'
|
Loading…
Reference in a new issue