From 57810bbe5783dde27d63bd8a6abb5dae159f08fa Mon Sep 17 00:00:00 2001 From: Bas van den Berg <74251551+bvdberg01@users.noreply.github.com> Date: Mon, 17 Mar 2025 13:29:23 +0100 Subject: [PATCH] Update archive-discord-thread.yml --- .github/workflows/archive-discord-thread.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/archive-discord-thread.yml b/.github/workflows/archive-discord-thread.yml index e112d7b..82bad72 100644 --- a/.github/workflows/archive-discord-thread.yml +++ b/.github/workflows/archive-discord-thread.yml @@ -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