aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2021-07-23 09:09:25 -0400
committerGitHub <noreply@github.com>2021-07-23 09:09:25 -0400
commita8b2d80e4c706f5fc6209b267f2bcc5bc89cb6d3 (patch)
tree5c054192db930e6af365ac1d912cec842103db7b /.github/workflows
parent29e9174253d4d0e8cca64b353c94dc31e98a0829 (diff)
downloadtranslated-content-a8b2d80e4c706f5fc6209b267f2bcc5bc89cb6d3.tar.gz
translated-content-a8b2d80e4c706f5fc6209b267f2bcc5bc89cb6d3.tar.bz2
translated-content-a8b2d80e4c706f5fc6209b267f2bcc5bc89cb6d3.zip
add auto-merge for dependabot PRs (#1668)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/auto-merge.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml
new file mode 100644
index 0000000000..ed88864f35
--- /dev/null
+++ b/.github/workflows/auto-merge.yml
@@ -0,0 +1,16 @@
+name: auto-merge
+
+on:
+ pull_request_target:
+
+jobs:
+ auto-merge:
+ runs-on: ubuntu-latest
+ if: github.actor == 'dependabot[bot]'
+ steps:
+ - uses: ahmadnassri/action-dependabot-auto-merge@v2.4
+ with:
+ github-token: ${{ secrets.AUTOMERGE_TOKEN }}
+ command: "squash and merge"
+ approve: true
+ target: minor