Skip to content

refactor: validate resolved config with a zod schema #5630

refactor: validate resolved config with a zod schema

refactor: validate resolved config with a zod schema #5630

name: 'Conventional Commit'

Check warning on line 1 in .github/workflows/conventional-commit.yml

View workflow run for this annotation

GitHub Actions / Conventional Commit

Workflow execution policy warning (evaluate mode)

On November 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
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 }}