From d53078b5336c3ff065e0acf0a1917e475e83e19c Mon Sep 17 00:00:00 2001 From: arshinsalim <97666178+arshinsalim@users.noreply.github.com> Date: Mon, 13 Jun 2022 14:59:24 +0100 Subject: [PATCH] Automerge renovate prs (#634) --- .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 00000000..691b60d3 --- /dev/null +++ b/.github/workflows/combine-prs.yml @@ -0,0 +1,23 @@ +name: "Combine Renovate Pull Requests" + + on: + schedule: + - cron: '00 10 * * 1' # Runs at 10 AM every Monday + + workflow_dispatch: + + jobs: + combine-prs: + name: "Combine Renovate Pull Requests" + runs-on: ubuntu-20.04 + steps: + - uses: hmcts/am-github-actions/combine-prs@master + name: "Combine Renovate Pull Requests" + with: + branchPrefix: "renovate" + mustBeGreen: "true" + combineBranchName: "combine-prs-branch" + ignoreLabel: "nocombine" + combinePullRequestTitle: "Renovate Combined Pull Request" + closeCombinedPrs: "true" + githubToken: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file