Skip to content

Commit

Permalink
ci: Add spellcheck workflow
Browse files Browse the repository at this point in the history
This commits adds a workflow file which triggers `make spellcheck`
for every opened PR.

Signed-off-by: Dylan Reimerink <[email protected]>
  • Loading branch information
dylandreimerink committed Jul 28, 2024
1 parent 00bdf42 commit 929c702
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/spellcheck.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Spellcheck

on:
pull_request: {}
push:
branches:
- master

env:
USER: root

jobs:
spellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run spellcheck
run: |
make spellcheck
4 changes: 2 additions & 2 deletions tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ COPY requirements.txt /root/requirements.txt
RUN apt update && \
apt install -y git aspell && \
pip install -r /root/requirements.txt && \
groupadd -g $GID docs && \
useradd -u $UID -g $GID -m -s /bin/bash docs
groupadd -g $GID docs || true && \
useradd -u $UID -g $GID -m -s /bin/bash docs || true
ENTRYPOINT bash

0 comments on commit 929c702

Please sign in to comment.