'GitHub actions does not get triggered on commits or PRs created by github-actions (bot)

I have set up GitHub actions for the repository here and tests.yml gets triggered on push to master and if a pull request is created. However, when a pull request is created by github-actions (bot), the CI is not triggered. See pull requests by the bot here. Is there a reason for this behaviour?



Solution 1:[1]

I had the same question and the short answer is this was a deliberate design decision. I came across this discussion and related documentation which describes several workarounds.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Gerard