Skip to content

chore(docs): fix code scanning alert no. 48: DOM text reinterpreted as HTML #20539

chore(docs): fix code scanning alert no. 48: DOM text reinterpreted as HTML

chore(docs): fix code scanning alert no. 48: DOM text reinterpreted as HTML #20539

# Adopted from an action that is no longer maintained
# https:/deepakputhraya/action-pr-title
name: PR title is not truncated (...)
on:
pull_request:
types: [opened, synchronize, edited, reopened]
jobs:
truncation-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/github-script@v7
with:
script: |
const action = require('${{ github.workspace }}/.github/scripts/validatePullRequestTitle.js')
await action({github, context, core})