docs: link to GitHub Actions docs#298
Conversation
Why should it? This action is only concerned with validating the PR title, so why should it run when commits are added? |
|
Because if you have this set as a required check, it will never update if you push more commits to the PR as the status remains pending. |
More commits can't resolve an issue in your PR title, right? So eventually that's what you need to update and will also trigger the action. Or am I missing something?
Why is it stuck in that state in the first place? Are you using the |
|
It stays stuck in that pending state because GitHub uses the status of the last commit to the PR. The only way to retrigger the action to set the title status is to close and reopen the title or edit the PRs title. Basically, as documented, this only works if you never push any more changes to your pull request. |
|
It’s very easy to test, if @Lightning00Blade pushed another change to this PR the title status will remain pending |
|
Actually funnily enough we can't test in this repo as the Here is the full user journey with GitHub Actions triggered
In short there is association with Commit <=> Run when the actions are required, this is to ensure that Action was run on the latest change. |
amannn
left a comment
There was a problem hiding this comment.
Actually funnily enough we can't test in this repo as the
synchronizeis set
Yep, in this repo we're actually using synchronize to be able to test changes to the action itself (context).
I haven't worked with required checks yet, that's an interesting behavior.

I noticed that for rebasing the Action was not running, and I am fixing it locally for me.
Matching the defaults from GitHub action should fix that issue, and I believe that this
should be the default suggestion as well.
Also added links for anyone that may want to learn more.
Note
Updates README to recommend the
synchronizetrigger for required workflows and tweaks the example workflow triggers.pull_request_targettypesto includeeditedand reorders entries; adds commented hint forsynchronize.synchronizetrigger when the workflow is required, ensuring checks run on each new push.Written by Cursor Bugbot for commit 646de61. This will update automatically on new commits. Configure here.