https://github.com/calmdownval/webhook-summary
A GitHub Action for pipeline summaries sent via Discord webhooks.
https://github.com/calmdownval/webhook-summary
actions discord github-actions webhook
Last synced: about 1 month ago
JSON representation
A GitHub Action for pipeline summaries sent via Discord webhooks.
- Host: GitHub
- URL: https://github.com/calmdownval/webhook-summary
- Owner: CalmDownVal
- Created: 2022-05-08T13:14:49.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-02T12:26:23.000Z (almost 4 years ago)
- Last Synced: 2025-07-22T05:06:30.892Z (11 months ago)
- Topics: actions, discord, github-actions, webhook
- Language: JavaScript
- Homepage:
- Size: 380 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Webhook Summary
A GitHub Action for simple pipeline summaries sent via Discord webhooks.
## Usage
Add a new job to your workflow with this action as its only step:
```yml
summary:
runs-on: ubuntu-latest
if: ${{ always() }}
needs:
- job_one
- job_two
# ...
steps:
- uses: CalmDownVal/webhook-summary@v2
with:
token: ${{ github.token }}
url: ${{ secrets.WEBHOOK_URL }}
job_id: ${{ job.check_run_id }}
```
Fill in the `needs` array to include all previous jobs. This ensures the summary
job always runs last.
The `token` and `url` parameters are mandatory for this action to work. The
`job_id` parameter is optional and allows the action to identify its own job to
*exclude* it from the summary.