Merge pull request #55 from ONS-Innovation/dependabot/pip/data_logger… #54
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
| # A GitHub Action to run Markdown linting on pull requests and pushes using markdownlint. | |
| --- | |
| name: Markdown Lint | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| markdown-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '25' | |
| - name: Install markdownlint | |
| run: | | |
| npm install -g markdownlint-cli | |
| - name: Run markdownlint | |
| run: | | |
| markdownlint . |