Skip to content

Commit 3894562

Browse files
updating the approval requirement (#3148) (#3150)
Signed-off-by: Dhrubo Saha <[email protected]> (cherry picked from commit c195fd6) Co-authored-by: Dhrubo Saha <[email protected]>
1 parent 09154c6 commit 3894562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/require-approval.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
# Handle Pull Request events
3030
3131
# Check if the PR is triggered by opensearch-trigger-bot
32-
if [[ "$github_event" == "pull_request" ]] && [[ "$author" == "opensearch-trigger-bot[bot]" ]]; then
32+
if [[ "$author" == "opensearch-trigger-bot[bot]" ]]; then
3333
echo "PR triggered by opensearch-trigger-bot. No approval needed."
3434
echo "is-require-approval=ml-commons-cicd-env" >> $GITHUB_OUTPUT
3535
else

0 commit comments

Comments
 (0)