2022-05-02 19:04:43 +01:00
|
|
|
name: PR update
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'main'
|
2022-05-03 09:03:43 +01:00
|
|
|
- 'release-*'
|
2022-09-01 12:54:23 +02:00
|
|
|
|
2022-05-02 19:04:43 +01:00
|
|
|
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:
|
2022-05-03 09:03:43 +01:00
|
|
|
token: ${{ secrets.PR_UPDATE_TOKEN }}
|
2022-09-01 12:54:23 +02:00
|
|
|
base: ${{ github.ref_name }}
|
2022-05-02 19:04:43 +01:00
|
|
|
required_approval_count: 1
|
2022-09-01 19:14:57 +02:00
|
|
|
require_passed_checks: false
|
2022-05-02 19:04:43 +01:00
|
|
|
sort: 'updated'
|
|
|
|
direction: 'asc'
|