build(deps): add GH action to automate dependabot PRs combine
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 29 Aug 2023 14:33:46 +0000 (16:33 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 29 Aug 2023 14:33:46 +0000 (16:33 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
.github/workflows/combine-prs.yml [new file with mode: 0644]

diff --git a/.github/workflows/combine-prs.yml b/.github/workflows/combine-prs.yml
new file mode 100644 (file)
index 0000000..4d7fb83
--- /dev/null
@@ -0,0 +1,20 @@
+name: Combine PRs
+
+on:
+  schedule:
+    - cron: '0 0 * * *'
+  workflow_dispatch:
+
+permissions:
+  contents: write
+  pull-requests: write
+  checks: read
+
+jobs:
+  combine-prs:
+    runs-on: ubuntu-latest
+
+    steps:
+      - name: combine-prs
+        id: combine-prs
+        uses: github/combine-prs@v3.1.2