-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR title empty commit step #168
Comments
I think the new pr-check workflow, where 'checks' job needs 'pr-title' job in the same workflow will resolve this because 'checks' will not run until 'pr-title' succeeds. |
Tested here: https://github.com/3ware/repoman/pull/214 pr-check workflow has the same issue. |
Maybe we can try updating the status of the check run to "successful" https://docs.github.com/en/rest/checks/runs?apiVersion=2022-11-28#update-a-check-run |
|
I think this is only solution to this, because we can conditionally run a step when the title is edited. Anything else is too complicated. |
I would like to push an empty commit when pr title validation failures are corrected because this will trigger enforce-all-checks to run on a new head.sha as discussed here: poseidon/wait-for-status-checks#383 (comment). The
edited
type does not produce a new commit.The step to push the empty commit is not running because access to the required contexts is not available with the
pull_request
event;pull_request_target
should be used. (According to copilot). I have verified that the context output is empty with the following:Produces:
I either need to change it to run on
pull_request_target
or think of another way to triggerOriginally posted by @chris3ware in #167 (comment)
The text was updated successfully, but these errors were encountered: