feat(notify-pipeline-complete): support merge queue branches #2757
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check PR Title | |
on: | |
pull_request: | |
branches: [main] | |
types: [edited, opened, reopened, synchronize] | |
jobs: | |
test: | |
name: PR Title Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version-file: package.json | |
- name: Install dependencies | |
run: bun install | |
- name: Validate PR Title Contains Valid Descriptor | |
run: bun ./scripts/verify-pr-title-has-valid-descriptor.ts | |
env: | |
TITLE: ${{ github.event.pull_request.title }} | |
- uses: ./ | |
with: | |
helper: | |
check-pr-title | |
# pattern: 'my-regex-pattern' (optional: pattern must be wrapped in single quotes) |