chore(ci): add misspell action to markdown job

This commit is contained in:
Quentin McGaw
2023-07-05 14:26:04 +00:00
parent 2e34c6009e
commit 235f24ee5b
2 changed files with 9 additions and 1 deletions

View File

@@ -45,6 +45,7 @@ jobs:
level: error level: error
exclude: | exclude: |
./internal/storage/servers.json ./internal/storage/servers.json
*.md
- name: Linting - name: Linting
run: docker build --target lint . run: docker build --target lint .

View File

@@ -8,7 +8,6 @@ on:
- .github/workflows/markdown.yml - .github/workflows/markdown.yml
jobs: jobs:
markdown: markdown:
if: github.repository == 'qdm12/gluetun'
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
actions: read actions: read
@@ -16,7 +15,15 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: reviewdog/action-misspell@v1
with:
locale: "US"
level: error
pattern: |
*.md
- uses: peter-evans/dockerhub-description@v3 - uses: peter-evans/dockerhub-description@v3
if: github.repository == 'qdm12/gluetun'
with: with:
username: qmcgaw username: qmcgaw
password: ${{ secrets.DOCKERHUB_PASSWORD }} password: ${{ secrets.DOCKERHUB_PASSWORD }}