name: Spellcheck Action on: push jobs: build: name: Spellcheck runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - name: Get all changed markdown files uses: tj-actions/changed-files@4edd678ac3f81e2dc578756871e4d00c19191daf # v45 id: changed_files with: files: | **.md - name: Run Spellcheck id: spellcheck uses: rojopolis/spellcheck-github-actions@v0 with: task_name: Markdown source_files: ${{ steps.changed_files.outputs.all_changed_files }} output_file: spellcheck-output.txt - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4 if: '!cancelled()' with: name: Spellcheck Output path: spellcheck-output.txt