mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-28 18:38:40 +00:00
Fix PR update flow and allow updates from release branches (#3780)
Signed-off-by: Sambhav Kothari <skothari44@bloomberg.net>
This commit is contained in:
parent
873e394e5f
commit
266bfa1077
1 changed files with 3 additions and 2 deletions
5
.github/workflows/pr-update.yaml
vendored
5
.github/workflows/pr-update.yaml
vendored
|
@ -4,6 +4,7 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
- 'release-*'
|
||||
jobs:
|
||||
autoupdate:
|
||||
permissions:
|
||||
|
@ -13,8 +14,8 @@ jobs:
|
|||
- name: Automatically update PR
|
||||
uses: adRise/update-pr-branch@437fab6e0ac7d2a668f2c479f64225edd7f303fd # v0.6.0
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
base: 'main'
|
||||
token: ${{ secrets.PR_UPDATE_TOKEN }}
|
||||
base: ${{ env.GITHUB_REF_NAME }}
|
||||
required_approval_count: 1
|
||||
require_passed_checks: true
|
||||
sort: 'updated'
|
||||
|
|
Loading…
Add table
Reference in a new issue