Update archive-discord-thread.yml

This commit is contained in:
Bas van den Berg 2025-03-17 13:29:23 +01:00 committed by GitHub
parent a416a8e625
commit 57810bbe57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,7 +24,10 @@ jobs:
curl -X PATCH "https://discord.com/api/v10/channels/$THREAD_ID" \
-H "Authorization: Bot ${{ secrets.DISCORD_BOT_TOKEN }}" \
-H "Content-Type: application/json" \
-d '{ "archived": true }'
-d '{
"archived": true,
"locked": true,
}'
else
echo "No thread found for issue: $ISSUE_TITLE"
fi