diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index d5812f0..8348274 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -1,11 +1,19 @@ # https://github.com/codespell-project/actions-codespell name: codespell on: [pull_request, push] +permissions: + contents: read + jobs: codespell: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: codespell-project/actions-codespell@v2 + - name: Harden Runner + uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0 + with: + egress-policy: audit + + - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 + - uses: codespell-project/actions-codespell@94259cd8be02ad2903ba34a22d9c13de21a74461 # v2.0 with: ignore_words_list: crate,raison