Skip to content

chore: upgrade CI to Node 24 and migrate npm publishing to OIDC #299

chore: upgrade CI to Node 24 and migrate npm publishing to OIDC

chore: upgrade CI to Node 24 and migrate npm publishing to OIDC #299

Workflow file for this run

name: PR
on:
pull_request:
types: [opened, edited, synchronize]
jobs:
check-title:
runs-on: ubuntu-latest
steps:
- name: Check PR Title Prefix
id: title-check
uses: actions/github-script@v8
with:
script: |
const titlePrefixes = ["feat", "fix", "breaking", "chore"];
const title = context.payload.pull_request.title.toLowerCase();
const titleHasValidPrefix = titlePrefixes.some((prefix) => title.startsWith(`${prefix}:`));
if (!titleHasValidPrefix) { process.exit(-1); }