Determine the behavior when a PR contains multiple commits. [Reference discussion](https://github.com/espressif/github-actions/pull/17#discussion_r703454250).