I can't trigger a workflow with on: status
#25007
-
I am trying to create a workflow that is triggered when a new status is added to a commit sha, but can’t get it to trigger. Repo: GitHub - jasononeil/github-action-status-test Workflow yaml:
So far I have tried:
Does anyone have a working example of a workflow triggered by “status” events? Can anyone see what I’m doing wrong? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Here’s the actions tab showing no runs for the workflow have been triggered: github.comjasononeil/github-action-status-testContribute to jasononeil/github-action-status-test development by creating an account on GitHub. |
Beta Was this translation helpful? Give feedback.
-
It turns out Github Actions aren’t statuses, they’re “checks”. In my case the real repo I’m working on is using “statuses” but my example repo is using actions, so “checks”. If I trigger a github status using curl then things magically work
|
Beta Was this translation helpful? Give feedback.
-
Final full working example of a github “on: status” workflow here: github.comjasononeil/github-action-status-test/blob/d01343af47962fcf42a1ca2afc5c43e1acb5e8eb/.github/workflows/add-screenshot-gallery-as-comment.yml
This file has been truncated. show original |
Beta Was this translation helpful? Give feedback.
It turns out Github Actions aren’t statuses, they’re “checks”.
In my case the real repo I’m working on is using “statuses” but my example repo is using actions, so “checks”.
If I trigger a github status using curl then things magically work