GitHub actions fail to trigger on PR

We’re trying to switch over from TravisCI and Sauce Labs to GitHub Actions as the former no longer works with pull requests.

Everything worked fine when setting up the new workflows in the forked repo:

But it fails to work properly once submitted as a PR to the base repo:

Any one got some idea on what is wrong?

Hi @CendioOssman,

Glad to see you in Github Community Forum!

I can reproduce the same on my side, my pull request here(the workflow is triggered now) .
This is due to there was no action executed on base repository before. Once you create a workflow on master on base repository, then create PR from fork, the pull request event will be triggered.

I create an push event on master as a trick: https://github.com/weide-zhou/noVNC/actions/runs/145856197

Thanks.

Ah, I see. Thank you for testing that this is indeed that case. :slight_smile: