1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00
kyverno/.github/workflows/pr-update.yaml
Charles-Edouard Brétéché 89ccf7998f
chore: relax auto update PRs conditions (#4486)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>

Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
2022-09-01 17:14:57 +00:00

23 lines
537 B
YAML

name: PR update
on:
push:
branches:
- 'main'
- 'release-*'
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.PR_UPDATE_TOKEN }}
base: ${{ github.ref_name }}
required_approval_count: 1
require_passed_checks: false
sort: 'updated'
direction: 'asc'