feat: enable config v2 for activation from console #1965
This file contains 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: "Semantic Pull Request" | |
on: | |
pull_request: | |
types: ["opened", "edited", "reopened", "synchronize"] | |
permissions: | |
contents: read | |
jobs: | |
main: | |
name: Validate PR and Commits | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
with: | |
fetch-depth: 0 | |
- uses: wagoid/commitlint-github-action@3d28780bbf0365e29b144e272b2121204d5be5f3 # v6.1.2 | |
with: | |
configFile: .github/commitlint.config.cjs | |
- name: Install Dependencies | |
run: npm install @commitlint/[email protected] | |
- uses: JulienKode/pull-request-name-linter-action@8c05fb989d9f156ce61e33754f9802c9d3cffa58 # v0.5.0 | |
with: | |
configuration-path: ./.github/commitlint.config.cjs |