Skip to content

Commit 68eabf1

Browse files
authored
Update 99-add-issue-to-project.yml
1 parent de98471 commit 68eabf1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/99-add-issue-to-project.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ jobs:
3636
columns=$(curl -s -H "Authorization: Bearer $GITHUB_TOKEN" \
3737
-H "Accept: application/vnd.github.v3+json" \
3838
"https://api.github.com/projects/$DEV_PROJECT_ID/columns")
39-
column_id=$(echo $columns | jq -r '.[] | select(.name == "No Status") | .id')
39+
40+
echo "Columns Response: $columns"
41+
42+
column_id=$(echo $columns | jq -r 'map(select(.name == "No Status")) | .[0].id')
4043
echo "COLUMN_ID=$column_id" >> $GITHUB_ENV
4144
4245
- name: Add issue to project

0 commit comments

Comments
 (0)