Skip to content

Commit

Permalink
Rev6 debugging Update auto-merge.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
seokho-son authored Nov 15, 2023
1 parent c3a505e commit e14237c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:
- name: Verify if GITHUB_ACTOR is a Maintainer Team Member
run: |
if [[ ! " $TEAM_MEMBERS " =~ " ${GITHUB_ACTOR} " ]]; then
TEAM_MEMBERS_ARRAY=(${TEAM_MEMBERS//,/ })
if [[ ! " ${TEAM_MEMBERS_ARRAY[@]} " =~ " ${GITHUB_ACTOR} " ]]; then
echo "User ${GITHUB_ACTOR} is not a member of the team. Stopping workflow."
exit 1
fi
Expand Down

0 comments on commit e14237c

Please sign in to comment.