diff --git a/.github/workflows/typos.yaml b/.github/workflows/typos.yaml index fb8cd65b..85a00306 100644 --- a/.github/workflows/typos.yaml +++ b/.github/workflows/typos.yaml @@ -1,14 +1,24 @@ -name: Test Typos -on: [pull_request] +name: Spell check with typos + +on: + push: + branches: ["main"] + pull_request: + branches: ["**"] + permissions: {} + jobs: - run: - name: Spell Check with Typos + typos: runs-on: ubuntu-latest permissions: contents: read steps: - - name: Checkout Actions Repository + - name: Checkout repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - name: Check spelling of file.txt + with: + persist-credentials: false + + - name: Run typos uses: crate-ci/typos@cf5f1c29a8ac336af8568821ec41919923b05a83 # v1.45.1 +