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"