Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_texteditor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2022-04-28 18:27:29 +0300
committerGitHub <noreply@github.com>2022-04-28 18:27:29 +0300
commitfd2fabe21f213f3bf1148d45541fb371de3fbeb8 (patch)
treedd730d78c9c321829f663c171386c4a1a3044cb7
parentaba7ba4af20baa824d5eaa138e78a92659973b8e (diff)
Create dependabot-approve-merge.yml
-rw-r--r--.github/workflows/dependabot-approve-merge.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/dependabot-approve-merge.yml b/.github/workflows/dependabot-approve-merge.yml
new file mode 100644
index 0000000..e0e6bfa
--- /dev/null
+++ b/.github/workflows/dependabot-approve-merge.yml
@@ -0,0 +1,30 @@
+# This workflow is provided via the organization template repository
+#
+# https://github.com/nextcloud/.github
+# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
+
+name: Dependabot
+
+on:
+ pull_request_target:
+ branches:
+ - main
+ - master
+ - stable*
+
+jobs:
+ auto-approve-merge:
+ if: github.actor == 'dependabot[bot]'
+ runs-on: ubuntu-latest
+
+ steps:
+ # Github actions bot approve
+ - uses: hmarr/auto-approve-action@v2
+ with:
+ github-token: ${{ secrets.GITHUB_TOKEN }}
+
+ # Nextcloud bot approve and merge request
+ - uses: ahmadnassri/action-dependabot-auto-merge@v2
+ with:
+ target: minor
+ github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}