summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2021-03-10 16:09:27 -0800
committerGitHub <noreply@github.com>2021-03-10 16:09:27 -0800
commite418b00f5e823eb8bcb10cb5c39f8a896921b33f (patch)
treed854d151b8a75ff9d2bcbdc30a4e1de61922bd70 /.github
parent982d1bea6ec9ac9b8932f99762ab2b3908958f32 (diff)
Add GitHub action to automatically update approved PRs. (#6114)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/update_pr.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/update_pr.yml b/.github/workflows/update_pr.yml
new file mode 100644
index 000000000..ae58b7a8e
--- /dev/null
+++ b/.github/workflows/update_pr.yml
@@ -0,0 +1,16 @@
+name: PR update
+
+on:
+ push:
+ branches:
+ - 'master'
+jobs:
+ autoupdate:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Automatically update PR
+ uses: adRise/update-pr-branch@v0.4.0
+ with:
+ token: ${{ secrets.ACTION_USER_TOKEN }}
+ base: 'master'
+ required_approval_count: 1
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback