Trigger Actions on PR where base changes

Actions running on pull requests are meant to run on a code-base which is the result of merging the pull request into the base branch (e.g. master).

If my understanding above is correct, should Actions on PRs be also triggered when there are new commits pushed to the base branch? This does not seem to be the case.

Hi @riccardoporreca,

Workflow will NOT be triggered when base changes.

After you create the pull request, if you push commits to compared(source) branch, these commits will appear in chronological order within your pull request and the changes will be visible in the “Files changed” tab. However, when you push commits to base branch, these commits will not be listed in pull request, which indicates base changes won’t affect the pull request.

Change on compared(source) branch will trigger the pull request event.