diff --git a/.github/workflows/conventional-commit-check.yml b/.github/workflows/pr-title-check.yml similarity index 90% rename from .github/workflows/conventional-commit-check.yml rename to .github/workflows/pr-title-check.yml index c02d8a3bfb49..8c15246f0e6c 100644 --- a/.github/workflows/conventional-commit-check.yml +++ b/.github/workflows/pr-title-check.yml @@ -1,4 +1,4 @@ -name: Conventional Commit Message Check +name: PR Title Checks on: # This is a dangerous event trigger as it causes the workflow to run in the @@ -35,6 +35,19 @@ env: CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse jobs: + typos: + name: Spell check PR title + runs-on: ubuntu-latest + steps: + - name: Store PR title in a file + shell: bash + run: echo '${{ github.event.pull_request.title }}' > pr_title.txt + + - name: Spell check + uses: crate-ci/typos@master + with: + files: ./pr_title.txt + pr_title_check: name: Verify PR title follows conventional commit standards runs-on: ubuntu-latest