diff options
Diffstat (limited to '.github/workflows/codespell.yml')
-rw-r--r-- | .github/workflows/codespell.yml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 000000000..e39755dbd --- /dev/null +++ b/.github/workflows/codespell.yml | |||
@@ -0,0 +1,40 @@ | |||
1 | name: Codespell | ||
2 | |||
3 | on: | ||
4 | push: | ||
5 | paths-ignore: | ||
6 | - 'm4/**' | ||
7 | - COPYING | ||
8 | pull_request: | ||
9 | paths-ignore: | ||
10 | - 'm4/**' | ||
11 | - COPYING | ||
12 | |||
13 | permissions: # added using https://github.com/step-security/secure-workflows | ||
14 | contents: read | ||
15 | |||
16 | jobs: | ||
17 | codespell: | ||
18 | runs-on: ubuntu-22.04 | ||
19 | steps: | ||
20 | - name: Harden Runner | ||
21 | uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 | ||
22 | with: | ||
23 | egress-policy: block | ||
24 | allowed-endpoints: > | ||
25 | archive.ubuntu.com:80 | ||
26 | azure.archive.ubuntu.com:80 | ||
27 | github.com:443 | ||
28 | packages.microsoft.com:443 | ||
29 | ppa.launchpadcontent.net:443 | ||
30 | security.ubuntu.com:80 | ||
31 | - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | ||
32 | - name: update package information | ||
33 | run: sudo apt-get update -qy | ||
34 | - name: install dependencies | ||
35 | run: sudo apt-get install -qy codespell | ||
36 | - name: configure | ||
37 | run: ./configure || (cat config.log; exit 1) | ||
38 | - run: codespell --version | ||
39 | - name: codespell | ||
40 | run: make codespell | ||