1name: Format Pull Request Files 2 3on: 4 issue_comment: 5 types: [created] 6 7env: 8 bashPass: \033[32;1mPASSED - 9 bashInfo: \033[33;1mINFO - 10 bashFail: \033[31;1mFAILED - 11 bashEnd: \033[0m 12 13jobs: 14 Formatting: 15 name: Run Formatting Check 16 if: ${{ github.event.issue.pull_request && 17 ( ( github.event.comment.body == '/bot run uncrustify' ) || 18 ( github.event.comment.body == '/bot run formatting' ) ) }} 19 runs-on: ubuntu-20.04 20 steps: 21 - name: Apply Formatting Fix 22 id: check-formatting 23 uses: FreeRTOS/CI-CD-Github-Actions/formatting-bot@main 24 with: 25 exclude-dirs: portable 26