Added some extra safety in the float handling code #2313
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: 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: "[\"|`]" |