From 5b7829d8f07eea90f451cb2b73af06a12666f18b Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 14 Jul 2025 08:58:50 +0200 Subject: [PATCH] Update delete-discord-thread.yml --- .github/workflows/delete-discord-thread.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/delete-discord-thread.yml b/.github/workflows/delete-discord-thread.yml index 19e36081..1c36059e 100644 --- a/.github/workflows/delete-discord-thread.yml +++ b/.github/workflows/delete-discord-thread.yml @@ -9,12 +9,12 @@ jobs: close_discord_thread: if: github.repository == 'community-scripts/ProxmoxVED' runs-on: ubuntu-latest + env: + ISSUE_TITLE: ${{ github.event.issue.title }} steps: - name: Get thread-ID op and close thread run: | - ISSUE_TITLE="${{ github.event.issue.title }}" - THREAD_ID=$(curl -s -X GET "https://discord.com/api/v10/guilds/${{ secrets.DISCORD_GUILD_ID }}/threads/active" \ -H "Authorization: Bot ${{ secrets.DISCORD_BOT_TOKEN }}" \ -H "Content-Type: application/json" | \