mirror of
https://github.com/kyverno/kyverno.git
synced 2025-01-20 18:52:16 +00:00
ebb7868d97
Bumps [adRise/update-pr-branch](https://github.com/adrise/update-pr-branch) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/adrise/update-pr-branch/releases)
- [Commits](437fab6e0a...cd305ecbd7
)
---
updated-dependencies:
- dependency-name: adRise/update-pr-branch
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kyverno-bot <104836976+kyverno-bot@users.noreply.github.com>
31 lines
821 B
YAML
31 lines
821 B
YAML
name: PR update
|
|
|
|
permissions: {}
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
- 'release-*'
|
|
|
|
jobs:
|
|
autoupdate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
|
- 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@cd305ecbd76bf63056c9400ce2c725293fc3e0c0 # v0.7.0
|
|
with:
|
|
token: ${{ secrets.PR_UPDATE_TOKEN }}
|
|
base: ${{ github.ref_name }}
|
|
required_approval_count: 1
|
|
require_passed_checks: false
|
|
sort: updated
|
|
direction: asc
|