Bumped status_embed version from 0.2.1 to main

This commit is contained in:
Xithrius 2022-03-02 16:19:51 -08:00
parent 5c44ec5df0
commit 6ae25bc198
No known key found for this signature in database
GPG Key ID: BD0FC909FA912B62

View File

@ -36,11 +36,11 @@ jobs:
# more information and we can fine tune when we actually want
# to send an embed.
- name: GitHub Actions Status Embed for Discord
uses: SebastiaanZ/github-status-embed-for-discord@v0.2.1
uses: SebastiaanZ/github-status-embed-for-discord@main
with:
# Webhook token
webhook_id: '948398186119192586'
webhook_token: ${{ secrets.GHA_WEBHOOK_TOKEN }}
webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }}
webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
# We need to provide the information of the workflow that
# triggered this workflow instead of this workflow.
@ -48,6 +48,9 @@ jobs:
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 }}
# Now we can use the information extracted in the previous step: