merge formal snapshot and snapshots docs (#15898) #55050
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: | |
push: | |
branches: [ main, extensions ] | |
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@v3 # pin@v3 | |
- name: Detect Changes | |
uses: './.github/actions/diffs' | |
id: diff | |
spelling: | |
name: Lint documentation | |
needs: diff | |
if: needs.diff.outputs.isDoc == 'true' | |
runs-on: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v3 # pin@v3 | |
- name: Spell Check Docs | |
uses: crate-ci/[email protected] | |
with: | |
files: ./docs/content |