1
0
Fork 0
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:
Sambhav Kothari 2022-05-02 19:04:43 +01:00 committed by GitHub
parent 18af55ed49
commit 0a9bcd5407
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

21
.github/workflows/pr-update.yaml vendored Normal file
View 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'