spell-check.yml (849B)
1 name: Spell Check 2 on: 3 push: 4 branches: 5 - "main" 6 pull_request: 7 8 # Declare default permissions as read only. 9 permissions: read-all 10 11 jobs: 12 run: 13 permissions: 14 contents: read # for actions/checkout to fetch code 15 name: Spell Check with Typos 16 runs-on: self-hosted 17 steps: 18 # - name: Harden Runner 19 # uses: step-security/harden-runner@bdb12b622a910dfdc99a31fdfe6f45a16bc287a4 # v1 20 # with: 21 # egress-policy: block 22 # allowed-endpoints: github.com:443 23 # env: 24 # USER: runner 25 - name: Checkout Actions Repository 26 uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2 27 28 - name: Check spelling 29 uses: crate-ci/typos@927308c726b1fba730f7aaa8bde602148b82004d # master 30 with: 31 config: ${{github.workspace}}/_typos.toml