Git scripts: checks commit sizes for entire repo and specific hash #87
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: Lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint-gh-cli-readme: | |
name: Lint ./gh-cli/README.md | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Lint ./gh-cli/README.md | |
run: node ./.github/scripts/lint-readme.js | |
lint-scripts-readme: | |
name: Lint ./scripts/README.md | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Lint ./scripts/README.md | |
run: node ./.github/scripts/lint-readme.js ./scripts '##' '# scripts' |