Skip to content

Commit

Permalink
Fix 'close-discussion' workflow not working
Browse files Browse the repository at this point in the history
  • Loading branch information
og-mrk committed Jul 29, 2024
1 parent feee518 commit 1343bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/close-discussion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ jobs:
echo "$discussion_id"
curl -X PATCH -H "Authorization: token $GITHUB_TOKEN" \
-d '{"state": "closed"}' \
'https://api.github.com/repos/${{ github.repository }}/discussions/$discussion_id'
"https://api.github.com/repos/${{ github.repository }}/discussions/$discussion_id"
done
shell: bash

0 comments on commit 1343bd9

Please sign in to comment.