Skip to content

A GitHub Action for pipeline summaries sent via Discord webhooks.

Notifications You must be signed in to change notification settings

CalmDownVal/webhook-summary

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  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.

About

A GitHub Action for pipeline summaries sent via Discord webhooks.

Topics

Resources

Stars

Watchers

Forks