feat: a new exciting contribution #30687
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: PR Title Validation | |
| on: | |
| pull_request_target: | |
| types: [opened, reopened, edited, synchronize] | |
| merge_group: | |
| # Copied & adapted (job name, version label) from | |
| # https://github.com/ytanikin/pr-conventional-commits?tab=readme-ov-file#usage-with-labeling-where-label-is-just-a-task-type | |
| # validates the title and adds a label based on the PR type | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| validate-pr-title: | |
| name: PR Conventional Commit Validation | |
| if: ${{ github.event_name == 'pull_request_target' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Validate PR Title | |
| uses: ytanikin/pr-conventional-commits@8d258b54939f6769fcd935a52b96d6b0383a00c5 # v1.2.0 | |
| with: | |
| task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]' |