on: [pull_request] triggered inconsistently

We have a workflow which runs on pull_request which gets very sporadically.

When we first wrote the action it ran every time we pushed up to the branch once the pull request had been opened to run some basic tests, but now we find that occasionally for a branch when we push to it the workflow isn’t triggered for some commits even if it has run previously. 

I’ve taken a look through https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows and the only event that I can that might be triggering the action here is “edited” but can’t figure why it’s so inconsistent.

Any help would be greatly appreciated

Can you share what your workflow currently looks like?


Much appreciate your feedback!

Please kindly check and confirm below points when your workflow is not triggered:

  1.  Check the github status if it is fine: https://www.githubstatus.com/
  2. Check it doesn’t exceed the Github usage limits, eg: up to 20 workflows concurrently per repository. More details here.

In addition, do you mean only pull request ‘edited’ event triggered the workflow as expected right now? Do you raise a pull request in the same repro or from a forked repo? Please kindly confirm that the operation is exactly same with before.

It’s recommended to share some code sample here if possible then we can dig further, thanks.