Skip to content

Commit 60ed769

Browse files
committed
fix
1 parent 843132d commit 60ed769

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/add_member.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ jobs:
7070

7171
- name: Check if user wants to become a designer
7272
id: check_designer
73-
run: |
74-
if gh issue view ${{ env.ISSUE_NUMBER }} --json body | jq -e '.body | contains("[x] Do you wish to join the designers team?")'; then
73+
run: |
74+
ADD_TO_DESIGNERS=$(gh issue view ${{ env.ISSUE_NUMBER }} --json body | jq -e '.body | contains("[x] Do you wish to join the designers team?")')
75+
if [ "$ADD_TO_DESIGNERS" = "true" ]; then
7576
python scripts/add_member.py ${{ env.USERNAME }} designers
7677
else
7778
echo "User does not want to join the designers team."

0 commit comments

Comments
 (0)