From e30aa0782459434882a305ec53a2b67ec41356b1 Mon Sep 17 00:00:00 2001 From: Dhrubo Saha Date: Wed, 23 Oct 2024 10:17:39 -0700 Subject: [PATCH] updating the approval requirement (#3148) Signed-off-by: Dhrubo Saha (cherry picked from commit c195fd6ff5b764f747368effa34f30d3dd042fc6) --- .github/workflows/require-approval.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/require-approval.yml b/.github/workflows/require-approval.yml index 20dc728cdf..d9489e2935 100644 --- a/.github/workflows/require-approval.yml +++ b/.github/workflows/require-approval.yml @@ -29,7 +29,7 @@ jobs: # Handle Pull Request events # Check if the PR is triggered by opensearch-trigger-bot - if [[ "$github_event" == "pull_request" ]] && [[ "$author" == "opensearch-trigger-bot[bot]" ]]; then + if [[ "$author" == "opensearch-trigger-bot[bot]" ]]; then echo "PR triggered by opensearch-trigger-bot. No approval needed." echo "is-require-approval=ml-commons-cicd-env" >> $GITHUB_OUTPUT else