Skip to content

Commit

Permalink
replace action
Browse files Browse the repository at this point in the history
  • Loading branch information
damirka committed Dec 8, 2024
1 parent 593d17a commit 6548c25
Showing 1 changed file with 5 additions and 22 deletions.
27 changes: 5 additions & 22 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,14 @@
name: Documentation

on:
push:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]

jobs:
diff:
runs-on: [ubuntu-latest]
outputs:
isDoc: ${{ steps.diff.outputs.isDoc }}
isOldDoc: ${{ steps.diff.outputs.isOldDoc }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
- name: Detect Changes
uses: './.github/actions/diffs'
id: diff

spelling:
spell:
name: Lint documentation
needs: diff
if: needs.diff.outputs.isDoc == 'true'
runs-on: [ubuntu-latest]

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
- name: Spell Check Docs
uses: crate-ci/[email protected]
- name: GitHub Spellcheck Action
uses: rojopolis/[email protected]
with:
files: ./book/**/*.md ./README.md ./reference/**/*.md
- directory: [book, reference]

0 comments on commit 6548c25

Please sign in to comment.