Skip to content

chore(deps-dev): bump braces from 3.0.2 to 3.0.3 in /packages/esbuild-plugin #2

chore(deps-dev): bump braces from 3.0.2 to 3.0.3 in /packages/esbuild-plugin

chore(deps-dev): bump braces from 3.0.2 to 3.0.3 in /packages/esbuild-plugin #2

Workflow file for this run

name: Check PR title
on:
pull_request:
branches: [ master ]
types: [opened, edited, synchronize, reopened]
jobs:
commitlint:
name: Check PR title
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
cache: 'npm'
cache-dependency-path: |
package-lock.json
- name: Install deps
run: npm ci --ignore-scripts
- name: Verify PR title is in the correct format
env:
TITLE: ${{ github.event.pull_request.title }}
run: |
echo $TITLE | npx commitlint -V
needs-migration-docs-check:
runs-on: ubuntu-latest
steps:
- name: Echo event name
env:
TITLE: ${{ github.event.pull_request.title }}
EVENT: ${{ github.event_name }}
run: echo "$EVENT:$TITLE"
- name: Check PR name for breaking changes
if: github.event_name == 'pull_request' && ( contains(github.event.pull_request.title, '!') || contains(github.event.pull_request.title, 'BREAKING CHANGE') )
uses: mshick/add-pr-comment@v2
with:
message-id: upgrade-guide
message: |
:warning: Breaking change detected. This PR will cause a major version upgrade. Please make sure to:
- [ ] Create an upgrade guide in the documentation project.
If you believe an upgrade guide is unnecessary, go ahead and check this box anyway.