Skip to content

Commit

Permalink
Add debug info to 'close-discussion' workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
og-mrk committed Jul 29, 2024
1 parent 1343bd9 commit 6951e45
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/close-discussion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,13 @@ jobs:
done < discussion_ids_list.txt
number_of_ids=${#discussion_ids_arr[@]}
for (( i=0; i<${number_of_ids}; i++ ));
do
echo "Number of IDs: ${number_of_id}"
echo "IDs Array: ${discussion_ids_arr[@]}"
echo "IDs List:"
cat discussion_ids_list.txt
for (( i=0; i<${number_of_ids}; i++ )); do
discussion_id=${discussion_ids_arr[$i]}
echo "$discussion_id"
curl -X PATCH -H "Authorization: token $GITHUB_TOKEN" \
Expand Down

0 comments on commit 6951e45

Please sign in to comment.