diff --git a/.github/workflows/typos.yaml b/.github/workflows/typos.yaml index c3844b8..59faf55 100644 --- a/.github/workflows/typos.yaml +++ b/.github/workflows/typos.yaml @@ -1,14 +1,25 @@ -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 - uses: crate-ci/typos@02ea592e44b3a53c302f697cddca7641cd051c3d # v1.45.0 + with: + persist-credentials: false + + - name: Run typos + uses: crate-ci/typos@cf5f1c29a8ac336af8568821ec41919923b05a83 # v1.45.1 + with: + config: _typos.toml