Skip to content

chore(deps): bump the tests group across 1 directory with 4 updates #7859

chore(deps): bump the tests group across 1 directory with 4 updates

chore(deps): bump the tests group across 1 directory with 4 updates #7859

Workflow file for this run

name: Check PR title
on:
pull_request:
types: [opened, reopened, edited, synchronize]
permissions:
pull-requests: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check semantic PR title
uses: amannn/action-semantic-pull-request@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check PR title length
uses: actions/github-script@v8
env:
TITLE: ${{ github.event.pull_request.title }}
with:
script: |
const title = process.env.TITLE;
const regex = /\.{3}$/;
if (regex.test(title)) {
throw new Error('The PR title cannot end with "...". Please shorten it.');
}