How to check if GHA down vs we have a bug?

We started experimenting with github actions today, and after 2 false starts (1s failed tasks), are not seeing any tasks launch. We saw there was a minor outage earlier today during this period, yet this behavior is still persisting. Any clues on determining if GHA is down, GHA is buggy, or (likely), we’re buggy?

In Azure Pipelines, we’re able to manually trigger a flow via the UI, but have not found an equivalent with GHA…

We are in the process of adding a way to manually trigger. In the meantime I typically trigger manually via a label add/remove event: https://help.github.com/en/actions/reference/events-that-trigger-workflows#label-event-label

You can also use repository dispatch to be fancier: https://dev.to/teamhive/triggering-github-actions-using-repository-dispatches-39d1

We also publish status: https://www.githubstatus.com/ and you can check the result of your run (in some cases).

2 Likes

Oh, interesting!

I can see how to do:

on:
  label:
     types: [created]

Is there a way to do something value-sensitive like:

on
  label
    types: [created="rerun_ci"]

?

FWIW, I think this may have been what happened for GHAs to not be triggering:

  • Working on branch+PR for GHAs, GHAs triggering ok
  • Master changed
  • PR now has a blocking merge conflict, work on GHAs no longer trigger

Yeah, you are right.
As the GITHUB_REF of pull_request event is the PR merge branch refs/pull/:prNumber/merge . When there are conflicts in pull request, workflows on : pull_request will not be triggered.

on
  label
    types: [created="rerun_ci"]

This is not supported currently.
You could add if conditional of the job to check the label name. Although this method could not prevent the workflow to be triggered, but the job will be skipped and the steps in the job will not run.

if: github.event.label.name == 'rerun_ci' 

1 Like