Skip to content

PROD-29281: Replace Mergeable with a custom tool for label and title enforcement #4

PROD-29281: Replace Mergeable with a custom tool for label and title enforcement

PROD-29281: Replace Mergeable with a custom tool for label and title enforcement #4

Workflow file for this run

# Run the automated test suite for the PR manager in case it changes.
name: PR Manager Test
on:
pull_request:
paths:
# Only run in case the PR Manager code or workflow changes.
- '.github/prManager/**'
# We use the default concurrency grouping of allowing a single workflow per branch/PR/tag to run at the same time.
# In case of PRs we only care about the results for the last workflow run, so we cancel workflows already in progress
# when new code is pushed, in all other cases (branches/tags) we want to have a history for commits so it's easier to
# find breakages when they occur (head_ref is non-empty only when the workflow is triggered from a PR).
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.head_ref != '' }}
defaults:
run:
shell: bash
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
working-directory: ./.github/prManager
- run: npm run test
working-directory: ./.github/prManager