diff --git a/.github/workflows/commit-style.yml b/.github/workflows/commit-style.yml index 4b85e48b8b592..d6c5cde805caa 100644 --- a/.github/workflows/commit-style.yml +++ b/.github/workflows/commit-style.yml @@ -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