aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/codespell.yml
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-08-14 21:37:17 +0000
committerLibravatar GitHub <noreply@github.com>2023-08-14 21:37:17 +0000
commitfd05c9a37a6cd214f412ce25a613f5646a8a841c (patch)
tree0eeb722834dd78ff95ebf3bb19b95af5f739fd06 /.github/workflows/codespell.yml
parentbuild(deps): bump github/codeql-action from 2.21.2 to 2.21.3 (diff)
parentbuild: run codespell on almost all files (diff)
downloadfirejail-fd05c9a37a6cd214f412ce25a613f5646a8a841c.tar.gz
firejail-fd05c9a37a6cd214f412ce25a613f5646a8a841c.tar.zst
firejail-fd05c9a37a6cd214f412ce25a613f5646a8a841c.zip
Merge pull request #5955 from kmk3/build-codespell-improvements
build: codespell improvements
Diffstat (limited to '.github/workflows/codespell.yml')
-rw-r--r--.github/workflows/codespell.yml40
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 @@
1name: Codespell
2
3on:
4 push:
5 paths-ignore:
6 - 'm4/**'
7 - COPYING
8 pull_request:
9 paths-ignore:
10 - 'm4/**'
11 - COPYING
12
13permissions: # added using https://github.com/step-security/secure-workflows
14 contents: read
15
16jobs:
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