diff --git a/.github/workflows/power-acceptance-test.yml b/.github/workflows/power-acceptance-test.yml index 70c426ce53..fcaf0236e2 100644 --- a/.github/workflows/power-acceptance-test.yml +++ b/.github/workflows/power-acceptance-test.yml @@ -24,7 +24,7 @@ jobs: # Check if the actor is in the allowed list if [[ ! " ${allowed_users_array[@]} " =~ " ${actor} " ]]; then echo "User ${actor} is not authorized to run this workflow." - exit 0 # This will stop the workflow if the user is not authorized + exit 1 # This will stop the workflow if the user is not authorized fi echo "User ${actor} is authorized to run the workflow."