Skip to content

PR Title Spell Check #6798

PR Title Spell Check

PR Title Spell Check #6798

name: PR Title Spell Check
on:
merge_group:
pull_request:
types:
- opened
- edited
- synchronize
jobs:
typos:
name: Spell check PR title
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.AUTO_RELEASE_PAT || github.token }}
- name: Store PR title in a file
shell: bash
env:
TITLE: ${{ github.event.pull_request.title }}
run: echo $TITLE > pr_title.txt
- name: Spell check
uses: crate-ci/typos@master
with:
files: ./pr_title.txt