Skip to content

Commit d31388f

Browse files
authored
ci: use apify/actions/pr-title-check wrapper for PR title checks (#656)
## 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 626e636 commit d31388f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/check_pr_title.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,4 @@ jobs:
99
name: 'Check PR title'
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: amannn/action-semantic-pull-request@v6.1.1
13-
env:
14-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12+
- uses: apify/actions/pr-title-check@v1.3.0

0 commit comments

Comments
 (0)