diff --git a/.github/workflows/typos.yaml b/.github/workflows/typos.yaml index 6083cf04..55269f4e 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 - uses: crate-ci/typos@d6b38c8b48913f417c9449cd83833b41535b0c54 # renovate/stable-1.x + with: + persist-credentials: false + + - name: Run typos + uses: crate-ci/typos@f8a58b6b53f2279f71eb605f03a4ae4d10608f45 # v1.47.0 +