Skip to content

Commit

Permalink
chore: update discord notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
ns212 committed Aug 2, 2023
1 parent 4c113df commit 2e5b251
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/notify-breaking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand All @@ -23,8 +23,8 @@ jobs:
fi
- name: Send Discord Notification
uses: Ilshidur/action-discord@master
with:
args: "Breaking change detected in PR: ${{ github.event.pull_request.html_url }}"
webhook: ${{ secrets.DISCORD_RELEASE_WEBHOOK_URL }}
run: |
curl -X POST -H "Content-Type: application/json" \
--data '{"content": "Breaking change detected in PR: ${{ github.event.pull_request.html_url }}"}' \
"${{ secrets.DISCORD_RELEASE_WEBHOOK_URL }}"
if: env.BREAKING_CHANGE_DETECTED == 'true'

0 comments on commit 2e5b251

Please sign in to comment.