Merge pull request #23402 from Homebrew/replace-commit-status

Use workflow result for commit style
This commit is contained in:
Mike McQuaid
2026-08-03 19:03:46 +00:00
committed by GitHub
+3 -3
View File
@@ -3,6 +3,7 @@ name: Commit Style
on:
pull_request:
branches: ["**"]
merge_group:
permissions: {}
@@ -12,10 +13,9 @@ jobs:
permissions:
contents: read
pull-requests: read
statuses: write
steps:
- 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@fd832223f9f99ebf0244dd20658680e5d4aca049 # 2026.08.03.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
check_package_commit_format: false