1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-01-20 18:52:16 +00:00
kyverno/.github/workflows/pr-update.yaml
dependabot[bot] cd023846a7
chore(deps): bump adRise/update-pr-branch from 0.7.1 to 0.7.2 (#9766)
Bumps [adRise/update-pr-branch](https://github.com/adrise/update-pr-branch) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/adrise/update-pr-branch/releases)
- [Commits](bf25036ca6...1dc4248ce8)

---
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>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-23 08:54:46 +00:00

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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- 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@1dc4248ce8a2480d1e432fa641f243ef12f6708e # v0.7.2
with:
token: ${{ secrets.PR_UPDATE_TOKEN }}
base: ${{ github.ref_name }}
required_approval_count: 1
require_passed_checks: false
sort: updated
direction: asc