Repository navigation
refactor: validate resolved config with a zod schema #5630
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: 'Conventional Commit' | ||
|
Check warning on line 1 in .github/workflows/conventional-commit.yml
|
||
| on: | ||
| merge_group: | ||
| pull_request_target: | ||
| types: | ||
| # Defaults | ||
| # https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#pull_request_target | ||
| - opened | ||
| - reopened | ||
| - synchronize | ||
| # Tracks editing PR title or description, or base branch changes | ||
| # https://docs.github.com/en/webhooks/webhook-events-and-payloads?actionType=edited#pull_request | ||
| - edited | ||
| jobs: | ||
| main: | ||
| name: '[Required] Validate PR title' | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| pull-requests: read | ||
| steps: | ||
| - if: github.event_name != 'merge_group' | ||
| uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1 | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||