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