diff --git a/.github/workflows/ci-lint.yml b/.github/workflows/ci-lint.yml index c7a43ef..2aa84c1 100644 --- a/.github/workflows/ci-lint.yml +++ b/.github/workflows/ci-lint.yml @@ -49,7 +49,10 @@ permissions: {} jobs: lint: - name: lefthook + # Both lint workflows name this job `hooks`, so the check a ruleset requires is + # ` / hooks` whichever one a repository calls, and moving from + # ci-pre-commit to ci-lint does not strand a pull request waiting on the old name. + name: hooks runs-on: ubuntu-latest timeout-minutes: ${{ inputs.timeout-minutes }} permissions: diff --git a/.github/workflows/ci-pre-commit.yml b/.github/workflows/ci-pre-commit.yml index df4f761..92dba51 100644 --- a/.github/workflows/ci-pre-commit.yml +++ b/.github/workflows/ci-pre-commit.yml @@ -69,7 +69,10 @@ permissions: {} jobs: pre-commit: - name: pre-commit + # Both lint workflows name this job `hooks`, so the check a ruleset requires is + # ` / hooks` whichever one a repository calls, and moving from + # ci-pre-commit to ci-lint does not strand a pull request waiting on the old name. + name: hooks runs-on: ubuntu-latest timeout-minutes: ${{ inputs.timeout-minutes }} permissions: diff --git a/rulesets/checks-dotgithub.json b/rulesets/checks-dotgithub.json index 5ecd3f7..af7f4c6 100644 --- a/rulesets/checks-dotgithub.json +++ b/rulesets/checks-dotgithub.json @@ -35,7 +35,7 @@ "integration_id": 15368 }, { - "context": "lint / lefthook", + "context": "lint / hooks", "integration_id": 15368 }, { diff --git a/rulesets/checks-project.json b/rulesets/checks-project.json index 8b7a3a8..ae26100 100644 --- a/rulesets/checks-project.json +++ b/rulesets/checks-project.json @@ -27,7 +27,7 @@ "integration_id": 15368 }, { - "context": "lint / pre-commit", + "context": "lint / hooks", "integration_id": 15368 } ]