Skip to content

fix: scan TensorFlow SavedModel function definitions for dangerous ops #3292

fix: scan TensorFlow SavedModel function definitions for dangerous ops

fix: scan TensorFlow SavedModel function definitions for dangerous ops #3292

name: Validate PR Title
on:
pull_request:
types: [opened, edited, synchronize]
# Only validate when PR title might have changed
paths-ignore:
- "**.md"
- "**.txt"
- "**.rst"
- "LICENSE*"
permissions:
pull-requests: read
jobs:
validate-pr-title:
name: Validate PR Title
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Configure which types are allowed
types: |
feat
fix
docs
style
refactor
perf
test
build
ci
chore
revert
# Ensure the subject doesn't start with uppercase
subjectPattern: ^(?![A-Z]).+$
subjectPatternError: |
The subject "{subject}" found in the pull request title "{title}"
didn't match the configured pattern. Please ensure that the subject
doesn't start with an uppercase character.