From 32c4c3ff2085b2aea7bd22f389ab1ce3eb7125c2 Mon Sep 17 00:00:00 2001 From: Dark Knightz Date: Tue, 1 Oct 2024 23:43:02 +0600 Subject: [PATCH] Update discord-webhook.yml --- .github/workflows/discord-webhook.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/discord-webhook.yml b/.github/workflows/discord-webhook.yml index b2a3086..74e1521 100644 --- a/.github/workflows/discord-webhook.yml +++ b/.github/workflows/discord-webhook.yml @@ -28,53 +28,53 @@ jobs: run: | curl -H "Content-Type: application/json" \ -d "{\"content\": \"New push event in repository: ${{ github.repository }} by ${{ github.actor }}.\"}" \ - https://discord.com/api/webhooks/1286631616931696763/uBh6xUwzrCnamHFURde3lb3MvKSvLv3lWeJs9HaIe-r_Lw4bHXDpkZjwKfuAijSiiSUk + ${{ secrets.DISCORD_WEBHOOK_URL }} - name: Send notification to Discord for Pull Request if: github.event_name == 'pull_request' run: | curl -H "Content-Type: application/json" \ -d "{\"content\": \"New pull request event in repository: ${{ github.repository }} by ${{ github.actor }}.\"}" \ - https://discord.com/api/webhooks/1286631616931696763/uBh6xUwzrCnamHFURde3lb3MvKSvLv3lWeJs9HaIe-r_Lw4bHXDpkZjwKfuAijSiiSUk + ${{ secrets.DISCORD_WEBHOOK_URL }} - name: Send notification to Discord for Pull Request Review if: github.event_name == 'pull_request_review' run: | curl -H "Content-Type: application/json" \ -d "{\"content\": \"New pull request review event in repository: ${{ github.repository }} by ${{ github.actor }}.\"}" \ - https://discord.com/api/webhooks/1286631616931696763/uBh6xUwzrCnamHFURde3lb3MvKSvLv3lWeJs9HaIe-r_Lw4bHXDpkZjwKfuAijSiiSUk + ${{ secrets.DISCORD_WEBHOOK_URL }} - name: Send notification to Discord for Issues if: github.event_name == 'issues' run: | curl -H "Content-Type: application/json" \ -d "{\"content\": \"New issue event in repository: ${{ github.repository }} by ${{ github.actor }}.\"}" \ - https://discord.com/api/webhooks/1286631616931696763/uBh6xUwzrCnamHFURde3lb3MvKSvLv3lWeJs9HaIe-r_Lw4bHXDpkZjwKfuAijSiiSUk + ${{ secrets.DISCORD_WEBHOOK_URL }} - name: Send notification to Discord for Release if: github.event_name == 'release' run: | curl -H "Content-Type: application/json" \ -d "{\"content\": \"New release event in repository: ${{ github.repository }} by ${{ github.actor }}.\"}" \ - https://discord.com/api/webhooks/1286631616931696763/uBh6xUwzrCnamHFURde3lb3MvKSvLv3lWeJs9HaIe-r_Lw4bHXDpkZjwKfuAijSiiSUk + ${{ secrets.DISCORD_WEBHOOK_URL }} - name: Send notification to Discord for Check Run if: github.event_name == 'check_run' run: | curl -H "Content-Type: application/json" \ -d "{\"content\": \"New check run completed in repository: ${{ github.repository }}.\"}" \ - https://discord.com/api/webhooks/1286631616931696763/uBh6xUwzrCnamHFURde3lb3MvKSvLv3lWeJs9HaIe-r_Lw4bHXDpkZjwKfuAijSiiSUk + ${{ secrets.DISCORD_WEBHOOK_URL }} - name: Send notification to Discord for Check Suite if: github.event_name == 'check_suite' run: | curl -H "Content-Type: application/json" \ -d "{\"content\": \"New check suite completed in repository: ${{ github.repository }}.\"}" \ - https://discord.com/api/webhooks/1286631616931696763/uBh6xUwzrCnamHFURde3lb3MvKSvLv3lWeJs9HaIe-r_Lw4bHXDpkZjwKfuAijSiiSUk + ${{ secrets.DISCORD_WEBHOOK_URL }} - name: Send notification to Discord for Deployment if: github.event_name == 'deployment' run: | curl -H "Content-Type: application/json" \ -d "{\"content\": \"New deployment event in repository: ${{ github.repository }}.\"}" \ - https://discord.com/api/webhooks/1286631616931696763/uBh6xUwzrCnamHFURde3lb3MvKSvLv3lWeJs9HaIe-r_Lw4bHXDpkZjwKfuAijSiiSUk + ${{ secrets.DISCORD_WEBHOOK_URL }}