Use workflow result for commit style - #23402
Open
MikeMcQuaid wants to merge 1 commit into
Open
Conversation
- Drop the status write that fork pull requests cannot receive. - Pin the action version that fails the workflow on validation errors. - Report the required check for synthetic merge queue commits.
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Commit Style GitHub Actions workflow to rely on the workflow/job result as the required check (instead of writing commit statuses), and to run for merge queue (“merge_group”) events so synthetic merge commits still receive the required check result.
Changes:
- Add
merge_groupas a trigger so the workflow runs for merge-queue commits. - Remove
statuses: writepermission and stop passing an explicittokento avoid status writes that fork PRs can’t receive. - Pin
Homebrew/actions/check-commit-formatto a specific commit SHA (updated pin).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - name: Check commit format | ||
| uses: Homebrew/actions/check-commit-format@9af03b7ae3f9e2ae5c174f659d5c3909f7e7dbac # 2026.07.29.1 | ||
| if: github.event_name == 'pull_request' | ||
| uses: Homebrew/actions/check-commit-format@b5fe8cf83919304b3300e0607a2538d40b8749ff |
This was referenced Aug 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Needs Homebrew/actions#905
brewcommands to reproduce the bug?brew lgtm(style, typechecking and tests) locally?OpenAI GPT 5.6 sol xhigh with local review.