From 9fc59f10b7d9f8a47ae587416e2a4562ded6e119 Mon Sep 17 00:00:00 2001 From: bxpana <42230936+bxpana@users.noreply.github.com> Date: Mon, 8 Apr 2024 16:23:26 -0700 Subject: [PATCH] Delete workflows directory Remove incorrect implementation of GH actions --- workflows/discord-notification.yml | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 workflows/discord-notification.yml diff --git a/workflows/discord-notification.yml b/workflows/discord-notification.yml deleted file mode 100644 index a548448..0000000 --- a/workflows/discord-notification.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Notify Discord on Labeled Discussion - -on: - discussion: - types: [created] - -jobs: - notify-discord: - runs-on: ubuntu-latest - if: contains(github.event.discussion.labels.*.name, 'show-and-tell') - steps: - - name: Send Notification to Discord - run: | - curl -X POST -H "Content-Type: application/json" \ - -d "{\"content\": \"A new labeled discussion has been created: ${GITHUB_EVENT_PATH}\"}" \ - ${{ secrets.DISCORD_WEBHOOK_URL }} - env: - DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} - GITHUB_EVENT_DISCUSSION_URL: ${{ github.event.discussion.html_url }}