Let's change the utils isBooleanNode(node)
to isInControlFlow(node)
#118
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: Title formatter | |
on: | |
pull_request_target: | |
types: [opened, edited] | |
issues: | |
types: [opened, edited] | |
jobs: | |
Rule: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
issues: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Auto-format rule names in titles | |
uses: fregante/title-replacer-action@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
pattern-path: docs/rules | |
replacement: '`$0`' | |
trim-punctuation: true |