Skip to content

Unit tests

Unit tests #905

Workflow file for this run

name: Validate PR Body
on:
push:
branches: '**'
pull_request:
branches: [ main, develop, canary ]
types: [synchronize]
jobs:
check_pr:
runs-on: ubuntu-latest
steps:
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch
- name: Check PR Body
uses: JJ/github-pr-contains-action@releases/v10
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
bodyDoesNotContain: "[\"|`]"