Skip to content

Commit

Permalink
Send discord notification from doctest workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxcode123 committed Feb 18, 2024
1 parent a5eadbb commit 8813164
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/doctest-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,15 @@ jobs:
- name: Install local package
run: make install-local-package
- name: Doctest package
run: make doctest-package
run: make doctest-package

send-notification:
runs-on: ubuntu-latest
needs: doctest-package
uses: ./.github/workflows/discord-notification.yml
with:
status: 'succeeded'
workflow_type: 'doctest-package'
actions_url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
secrets:
DISCORD_NOTIFICATIONS_WEBHOOK: ${{ secrets.DISCORD_NOTIFICATIONS_WEBHOOK }}

0 comments on commit 8813164

Please sign in to comment.