From 78919f7e256e0e37305526f4cf6422a9aa7c5f37 Mon Sep 17 00:00:00 2001 From: akash1810 Date: Thu, 22 Jun 2023 23:30:21 +0100 Subject: [PATCH] ci: Add Workflow to combine Dependabot PRs Attempt to bring order to Dependabot PRs by using https://github.com/marketplace/actions/combine-prs to batch them together. This would mean we have one PR to review, rather than multiple. --- .github/workflows/combine-prs.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/combine-prs.yml diff --git a/.github/workflows/combine-prs.yml b/.github/workflows/combine-prs.yml new file mode 100644 index 0000000..8e0dfac --- /dev/null +++ b/.github/workflows/combine-prs.yml @@ -0,0 +1,20 @@ +name: Combine PRs + +on: + schedule: + - cron: '0 1 * * 3' # Wednesday at 01:00 + workflow_dispatch: # allows you to manually trigger the workflow + +permissions: + contents: write # to create a new branch and merge other branches together + pull-requests: write # to create a new PR with the combined changes + checks: read # to check if CI is passing or not before combining PRs + +jobs: + combine-prs: + runs-on: ubuntu-latest + steps: + - uses: github/combine-prs@v3.1.1 + with: + pr_title: 'chore(deps): Combine PRs' + labels: 'dependencies'