Home/Answers/Get notified when GitHub Actions finishes
Answer

How do I get notified when a GitHub Actions workflow finishes?

Add a final step with if: always() that curls Lert. It runs whether the workflow passes or fails, POSTs the status to your Lert link, and your phone buzzes. No account, no API keys, no SDK.

Watching the little spinner on the Actions tab is a waste of a good afternoon. Instead, let the workflow tell you when it's done. Adding one step to your YAML — guarded with if: always() so it fires on green and red — sends the result straight to your lock screen. Because your Lert link is the credential, there's no secret to wire up unless you want to hide the link itself.

Set it up in under 30 seconds

  1. Download the app. Open it once — there's no account to create. Your private link is on screen.
  2. Copy your link. One tap copies https://lert.dev/p/your-id.
  3. Add a notify step to your workflow. Put it last, mark it if: always(), and curl your link with ${{ job.status }}.

From then on, every run — pass or fail — buzzes your phone.

Example: a final step in your workflow YAML

yaml
- name: Notify my phone
  if: always()
  run: |
    curl -X POST "https://lert.dev/p/your-id" \
      -H "Content-Type: application/json" \
      -d '{
        "title": "CI ${{ job.status }}",
        "body":  "${{ github.workflow }} on ${{ github.ref_name }}",
        "tag":   "ci"
      }'

No auth token, no SDK — one curl at the end of the job. Want to keep the link out of the logs? Store it as a repository secret and reference ${{ secrets.LERT_URL }} instead of pasting it inline.

Why if: always(): without it, the step is skipped when an earlier step fails — which is exactly when you most want to know. always() guarantees the buzz on success, failure, and cancellation alike.

Related setups

See the GitHub Actions notifications use case and the full GitHub Actions guide. It's free for one channel and 50 notifications a day; Lert Pro is $2.99/month for unlimited. Full details in the docs.

Stop watching the Actions tab.

Download Lert, copy your link, add one step to your workflow. Your phone buzzes when CI finishes.

Get the app iOS