Skip to content

Commit

Permalink
Update discord-webhook.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fam007e authored Oct 1, 2024
1 parent d4561d2 commit 32c4c3f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/discord-webhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 32c4c3f

Please sign in to comment.