Skip to content

Commit aff64c5

Browse files
authored
ci: use apify/actions/pr-title-check wrapper for PR title checks (#95)
## What Replaces the direct `amannn/action-semantic-pull-request` usage in our PR-title workflow with the shared `apify/actions/pr-title-check@v1.3.0` wrapper. ## Why We're consolidating PR-title checking across the org behind a single wrapper action ([apify/actions/pr-title-check](https://github.com/apify/actions/tree/main/pr-title-check)). Benefits: - One place to pin/update the underlying action version (no more per-repo version drift — we currently have v4.5.0, v5.5.3, v6, v6.1.1 scattered across repos). - The wrapper also spell-checks the PR title via [`crate-ci/typos`](https://github.com/crate-ci/typos). ## Changes - Swapped the `amannn/action-semantic-pull-request@<version>` step for `apify/actions/pr-title-check@v1.3.0`. - Dropped the manual `GITHUB_TOKEN` env wiring; the wrapper defaults to `github.token`. ## Note This adds a PR-title spell-check that wasn't running before. The spell-checker reads a **`_typos.toml` that lives in this repository** — it's local to this repo, not a shared/org-wide config, so you have full control over it. If the check produces false positives, just add the offending words (or rules) to `_typos.toml` in this repo. If no `_typos.toml` is present, the [typos defaults](https://github.com/crate-ci/typos) apply.
1 parent 42936a5 commit aff64c5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/on_pull_request.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ jobs:
1212
name: PR title check
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: amannn/action-semantic-pull-request@v6.1.1
16-
env:
17-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
- uses: apify/actions/pr-title-check@v1.3.0
1816

1917
code_checks:
2018
name: Code checks

0 commit comments

Comments
 (0)