Spaces:
Starting
Starting
Download .github/workflows/commit-lint.yml from SZLHOLDINGS/a11oy: direct link, hf CLI and curl.
- Browser
- Download file 1.12 kB
-
https://huggingface.co/spaces/SZLHOLDINGS/a11oy/resolve/da9e8fb0971c1413a67d487b09d329c431d28537/.github/workflows/commit-lint.yml
- Command line
-
hf download hf://spaces/SZLHOLDINGS/a11oy@da9e8fb0971c1413a67d487b09d329c431d28537/.github/workflows/commit-lint.yml
-
curl -L -o commit-lint.yml https://huggingface.co/spaces/SZLHOLDINGS/a11oy/resolve/da9e8fb0971c1413a67d487b09d329c431d28537/.github/workflows/commit-lint.yml
1.12 kB
| name: Conventional Commits PR title lint | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize, reopened] | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| jobs: | |
| commitlint: | |
| name: Lint PR title (Conventional Commits) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check PR title follows Conventional Commits | |
| uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5d98f25d3 # v5.5.3 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| # Conventional Commits types allowed | |
| types: | | |
| feat | |
| fix | |
| docs | |
| style | |
| refactor | |
| perf | |
| test | |
| build | |
| ci | |
| chore | |
| revert | |
| # Require scope (optional but encouraged) | |
| requireScope: false | |
| # Disallow breaking change in title without BREAKING CHANGE footer | |
| subjectPattern: ^(?![A-Z]).+$ | |
| subjectPatternError: | | |
| The subject "{subject}" does not match the required pattern. | |
| Please use lower-case for the subject. | |