Skip to content

fix: migrate PR title check to pull_request trigger #519

fix: migrate PR title check to pull_request trigger

fix: migrate PR title check to pull_request trigger #519

Workflow file for this run

name: .Platform - Semantic PR Check

Check warning on line 1 in .github/workflows/pr-title-check.yml

View workflow run for this annotation

GitHub Actions / .Platform - Semantic PR Check

Workflow execution policy warning (evaluate mode)

Event 'pull_request_target' is not allowed to trigger Actions workflows. Workflow file: '.github/workflows/pr-title-check.yml'.
on:
pull_request:
types:
- opened
- edited
- synchronize
jobs:
main:
name: Validate PR Title
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}