Status Embeds #382
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Status Embeds | |
on: | |
workflow_run: | |
workflows: | |
- Lint and test | |
- Publish to PyPI | |
types: | |
- completed | |
jobs: | |
embed: | |
name: Send Status Embed | |
runs-on: ubuntu-latest | |
steps: | |
- name: Github Actions Embed | |
uses: SebastiaanZ/github-status-embed-for-discord@v0.2.1 | |
with: | |
webhook_id: '754029108513603644' | |
webhook_token: ${{ secrets.WEBHOOK_TOKEN }} | |
workflow_name: ${{ github.event.workflow_run.name }} | |
run_id: ${{ github.event.workflow_run.id }} | |
run_number: ${{ github.event.workflow_run.run_number }} | |
status: ${{ github.event.workflow_run.conclusion }} | |
actor: ${{ github.actor }} | |
repository: ${{ github.repository }} | |
ref: ${{ github.ref }} | |
sha: ${{ github.event.workflow_run.head_sha }} |