From 8e6da9702fda92136f8365a7059abe42a4c6e9d4 Mon Sep 17 00:00:00 2001 From: akash1810 Date: Thu, 22 Jun 2023 23:30:21 +0100 Subject: [PATCH] Add Workflow to combine Dependabot PRs --- .github/workflows/combine-prs.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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..793df31 --- /dev/null +++ b/.github/workflows/combine-prs.yml @@ -0,0 +1,23 @@ +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: + - name: combine-prs + id: combine-prs + uses: github/combine-prs@v3.1.1 + with: + pr_title: 'chore(deps): Combine PRs' + labels: 'dependencies'