chore(deps): bump stefanzweifel/git-auto-commit-action from 01d77ca6cb089da1360e540865f7d035c95aa199 to b811de3f2d9e17d5fa2a2e415eebf8129c596c7b #761
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: 🛡️ Check PR Title | |
| on: | |
| pull_request: | |
| types: [opened, edited] | |
| jobs: | |
| lint-pr-title: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v5.0.0 | |
| with: | |
| # Only fetch the config file from the repository | |
| sparse-checkout-cone-mode: false | |
| sparse-checkout: .commitlintrc.yml | |
| - name: Install dependencies | |
| run: npm install --global @commitlint/config-conventional commitlint | |
| - name: Check PR title with commitlint | |
| env: | |
| PR_TITLE: ${{ github.event.pull_request.title }} | |
| HELP_URL: https://github.com/wxt-dev/wxt/blob/main/CONTRIBUTING.md#conventional-pr-titles | |
| run: echo "$PR_TITLE" | npx commitlint --help-url $HELP_URL |