Repository navigation
improve: Unified TFT files and 921600 bps default baud rate #326
Workflow file for this run
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: Validate Markdown | |
| # yamllint disable-line rule:truthy | |
| on: | |
| pull_request: | |
| paths: | |
| - '**/*.md' | |
| workflow_dispatch: | |
| jobs: | |
| markdown-lint: | |
| name: Markdown Lint | |
| permissions: | |
| contents: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: '0' | |
| # https://github.com/marketplace/actions/markdownlint-cli2-action | |
| - name: Identify changed files | |
| uses: tj-actions/changed-files@v47 | |
| id: changed-files | |
| with: | |
| files: '**/*.md' | |
| separator: "," | |
| # https://github.com/marketplace/actions/markdownlint-cli2-action | |
| - name: Markdown Lint | |
| uses: DavidAnson/markdownlint-cli2-action@v23 | |
| if: steps.changed-files.outputs.any_changed == 'true' | |
| with: | |
| globs: ${{ steps.changed-files.outputs.all_changed_files }} | |
| separator: "," | |
| config: '.rules/.markdownlint.jsonc' | |
| fix: true | |
| # https://github.com/edwardtfn/NSPanel-Easy/pull/1#pullrequestreview-3730634846 | |
| - name: Commit fixes | |
| if: steps.changed-files.outputs.any_changed == 'true' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) | |
| uses: stefanzweifel/git-auto-commit-action@v7 | |
| with: | |
| commit_message: "style: auto-fix markdown lint issues" | |
| file_pattern: '**/*.md' | |
| markdown-links: | |
| name: Check links | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: '0' | |
| # https://github.com/tcort/github-action-markdown-link-check | |
| - name: Markdown links | |
| uses: tcort/github-action-markdown-link-check@v1.1.2 | |
| with: | |
| # yamllint disable-line rule:truthy | |
| check-modified-files-only: yes | |
| config-file: '.rules/mlc_config.json' | |
| base-branch: 'main' | |
| ... |