chore(deps): Bump actions/upload-artifact from 4 to 7 (#120) #425
This file contains hidden or 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: Markdown Lint | |
| on: | |
| pull_request: | |
| branches: | |
| - 'main' | |
| - 'release-*' | |
| paths: | |
| - '**/*.md' | |
| - '.markdownlint.json' | |
| - '.github/workflows/markdown-lint.yml' | |
| push: | |
| branches: | |
| - 'main' | |
| - 'release-*' | |
| jobs: | |
| markdown-lint: | |
| name: markdown-lint | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "20" | |
| - name: Install markdownlint-cli | |
| run: npm install -g markdownlint-cli@0.39.0 | |
| - name: Determine changed Markdown files | |
| id: changed-markdown | |
| uses: ./.github/actions/detect-changed-assets | |
| with: | |
| filter: '\.md$' | |
| skip-deleted-files: true | |
| - name: Run markdownlint (changed files) | |
| if: steps.changed-markdown.outputs.filtered-changed-files != '' | |
| env: | |
| CHANGED_FILES: ${{ steps.changed-markdown.outputs.filtered-changed-files }} | |
| run: | | |
| markdownlint -c .markdownlint.json -- $CHANGED_FILES |