File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -33,15 +33,14 @@ jobs:
3333 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3434 DEV_PROJECT_ID : ${{ secrets.DEV_PROJECT_ID }}
3535 run : |
36- project_number=$(echo $DEV_PROJECT_ID | jq -r '.split("/")[-1]') # Optional if $DEV_PROJECT_ID is full URL, otherwise remove this line.
3736 columns=$(curl -s -H "Authorization: Bearer $GITHUB_TOKEN" \
3837 -H "Accept: application/vnd.github.inertia-preview+json" \
39- "https://api.github.com/projects/$project_number /columns")
38+ "https://api.github.com/projects/$DEV_PROJECT_ID /columns")
4039
4140 echo "Columns response: $columns"
4241
4342 if echo "$columns" | jq -e . >/dev/null 2>&1; then
44- column_id=$(echo $columns | jq -r '.[] | select(.name== "No Status") | .id')
43+ column_id=$(echo $columns | jq -r '.[] | select(.name == "No Status") | .id')
4544 if [ -n "$column_id" ]; then
4645 echo "COLUMN_ID=$column_id" >> $GITHUB_ENV
4746 else
You can’t perform that action at this time.
0 commit comments