Skip to content

Commit

Permalink
Merge pull request #1155 from interlay/gha-discord
Browse files Browse the repository at this point in the history
chore: update discord notifications
  • Loading branch information
nud3l authored Aug 2, 2023
2 parents 4c113df + 2e5b251 commit db02916
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 db02916

Please sign in to comment.