From 5fa1d61a438903538ec411ca6bf30d3ea1bbce46 Mon Sep 17 00:00:00 2001 From: "prithvikumar.detne@gmail.com" Date: Mon, 6 May 2024 16:58:53 +0000 Subject: [PATCH] Committing only for Topic repos --- .github/workflows/AutoMerge.yml | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/AutoMerge.yml diff --git a/.github/workflows/AutoMerge.yml b/.github/workflows/AutoMerge.yml new file mode 100644 index 0000000..01ce8dc --- /dev/null +++ b/.github/workflows/AutoMerge.yml @@ -0,0 +1,38 @@ +name: Automerge release bump PR + +on: + pull_request: + types: + - labeled + - unlabeled + - synchronize + - opened + - edited + - ready_for_review + - reopened + - unlocked + pull_request_review: + types: + - submitted + check_suite: + types: + - completed + status: {} + +jobs: + + automerge: + runs-on: ubuntu-latest + steps: + - name: Automerging + uses: pascalgn/automerge-action@v0.7.5 + #the actor that created pr + if: github.actor == 'prithvikumar.detne@gmail.com' + env: + GITHUB_TOKEN: "${{ secrets.MANAGE_FILES_TOKEN }}" + GITHUB_LOGIN: prithvikumar.detne@gmail.com + MERGE_LABELS: "" + MERGE_METHOD: "squash" + MERGE_COMMIT_MESSAGE: "Auto Merge Commit message" + MERGE_RETRIES: "10" + MERGE_RETRY_SLEEP: "10000"