GitHub Actions notifications for CI/CD workflows

Send Trigv push notifications from GitHub Actions when builds fail, tests pass, deploys finish, or release jobs need attention. The official Trigv action adds useful workflow context without making you write a custom webhook.

Best uses

Failed builds

Alert the right channel when a CI job breaks on main, a pull request, or a scheduled workflow.

Deployments

Notify your phone when production, staging, or preview deployments complete successfully.

Release jobs

Track package publishes, migrations, nightly jobs, and manual release workflows without watching GitHub.

Set up the action

  1. Create a Trigv API key and subscribe your phone to a channel such as ci.
  2. Add the key as a repository secret named TRIGV_API_KEY.
  3. Add the Trigv action near the end of the job you want to monitor.
  4. Run the workflow and confirm the push arrives on your phone.

Notify on failure

Use this after your test or deploy steps so GitHub only sends the notification when the job fails.

Code
- name: Notify Trigv on failure
	if: failure()
	uses: Trigv/[email protected]
	with:
		api-key: ${{ secrets.TRIGV_API_KEY }}
		channel: ci
		title: GitHub Actions workflow failed
		level: error
		event-type: github.workflow.failed

Notify on deploy success

Change the title, channel, and event type for production deploy alerts.

Code
- name: Notify Trigv on deploy
	if: success()
	uses: Trigv/[email protected]
	with:
		api-key: ${{ secrets.TRIGV_API_KEY }}
		channel: deploys
		title: Production deploy completed
		level: success
		event-type: github.deploy.succeeded
		idempotency-key: ${{ github.run_id }}-deploy

Useful inputs

InputUse it for
api-keyWorkspace API key stored in secrets.TRIGV_API_KEY.
channelRoute CI, deploy, or release notifications to the right Trigv channel.
titleShort notification headline shown on the device.
descriptionOptional message. If omitted, the action includes GitHub workflow context.
levelinfo, success, warning, or error.
event-typeStable event name such as github.deploy.succeeded.
delivery-urgencyUse time_sensitive for alerts that should break through allowed Focus settings.
idempotency-keyDeduplicate retries from the same workflow run.

Troubleshooting

IssueFix
No push arrivesConfirm the phone is signed in and subscribed to the channel used by the workflow.
401 from TrigvRegenerate the workspace API key and update the GitHub secret.
Duplicate alertsAdd an idempotency-key based on github.run_id or another stable run value.