From e965e3003c5d837f4c71294c8feb295caa73900b Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Thu, 4 Apr 2024 21:11:33 +0000 Subject: [PATCH] [Backport testmain2] [TEST BACKPORT] TEST ONLY (#6885) --- .github/workflows/123 | 1 + .github/workflows/automerge-backport.yml | 40 ++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 .github/workflows/123 create mode 100644 .github/workflows/automerge-backport.yml diff --git a/.github/workflows/123 b/.github/workflows/123 new file mode 100644 index 00000000000..190a18037c6 --- /dev/null +++ b/.github/workflows/123 @@ -0,0 +1 @@ +123 diff --git a/.github/workflows/automerge-backport.yml b/.github/workflows/automerge-backport.yml new file mode 100644 index 00000000000..e310cf935c3 --- /dev/null +++ b/.github/workflows/automerge-backport.yml @@ -0,0 +1,40 @@ +name: automerge backport +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-backport: + if: github.repository == 'opensearch-project/documentation-website' + runs-on: ubuntu-latest + steps: + - name: Wait some time so that label and approval is up + run: sleep 30 + - id: automerge + name: automerge + uses: "pascalgn/automerge-action@v0.16.2" + env: + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + MERGE_LABELS: "backport-automerge,!On hold" + MERGE_FILTER_AUTHOR: "opensearch-trigger-bot[bot]" + MERGE_REQUIRED_APPROVALS: "1" + MERGE_RETRIES: "20" + MERGE_RETRY_SLEEP: "10000" + MERGE_ERROR_FAIL: "true" + MERGE_FORKS: "false" + MERGE_METHOD: "squash" + MERGE_DELETE_BRANCH: "true"