From 38945628b9dde357ee96781ad86fd06586523383 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Wed, 23 Oct 2024 11:19:49 -0700 Subject: [PATCH] updating the approval requirement (#3148) (#3150) Signed-off-by: Dhrubo Saha (cherry picked from commit c195fd6ff5b764f747368effa34f30d3dd042fc6) Co-authored-by: Dhrubo Saha --- .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