A GitHub Action that sends workflow run URLs to webhook endpoints, primarily designed for Echobell but compatible with any webhook service that accepts JSON payloads.
- Sends GitHub workflow run URLs to a specified webhook endpoint
- Works with Echobell out of the box
- Compatible with any webhook service that accepts JSON POST requests
- Simple configuration with webhook URL as input
Add the following to your GitHub Actions workflow:
- name: Send Notification
uses: weelone/echobell-action@v1
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}You can also set the webhook URL using the WEBHOOK_URL environment variable:
- name: Send Notification
uses: weelone/echobell-action@v1
env:
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}| Input | Description | Required | Default |
|---|---|---|---|
| webhook_url | Webhook URL to send the notification to | No | - |
If webhook_url is not provided as an input, the action will look for a WEBHOOK_URL environment variable.
The action sends a POST request to the webhook URL with the following JSON payload:
{
"externalLink": "https://github.com/owner/repo/actions/runs/123456"
}name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
npm ci
npm run build
- name: Send Notification
uses: weelone/echobell-action@v1
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}MIT License - see the LICENSE file for details.