mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
322dce6e76
Bumps [adRise/update-pr-branch](https://github.com/adrise/update-pr-branch) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/adrise/update-pr-branch/releases)
- [Commits](f6b919383e...3576c22e28
)
---
updated-dependencies:
- dependency-name: adRise/update-pr-branch
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
33 lines
904 B
YAML
33 lines
904 B
YAML
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
|
|
|
name: PR update
|
|
|
|
permissions: {}
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
- 'release-*'
|
|
|
|
jobs:
|
|
autoupdate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
- name: Check secret
|
|
id: checksecret
|
|
uses: ./.github/actions/is-defined
|
|
with:
|
|
value: ${{ secrets.PR_UPDATE_TOKEN }}
|
|
- name: Automatically update PR
|
|
if: steps.checksecret.outputs.result == 'true'
|
|
uses: adRise/update-pr-branch@3576c22e28fb6f665417bfe3a83f9da7ca5363e2 # v0.9.1
|
|
with:
|
|
token: ${{ secrets.PR_UPDATE_TOKEN }}
|
|
base: ${{ github.ref_name }}
|
|
required_approval_count: 1
|
|
require_passed_checks: false
|
|
sort: updated
|
|
direction: asc
|