From d73470e9367888531f26954b4681de38cd9bcb22 Mon Sep 17 00:00:00 2001 From: Soren Ptak Date: Thu, 5 Oct 2023 16:15:03 -0700 Subject: [PATCH] Update the formatting bot (#1095) --- .github/workflows/formatting.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml index 8257addac5..48ecb40240 100644 --- a/.github/workflows/formatting.yml +++ b/.github/workflows/formatting.yml @@ -13,11 +13,23 @@ env: jobs: Formatting: name: Run Formatting Check - if: ${{ github.event.issue.pull_request }} && + if: ${{ github.event.issue.pull_request && ( ( github.event.comment.body == '/bot run uncrustify' ) || - ( github.event.comment.body == '/bot run formatting' ) ) + ( github.event.comment.body == '/bot run formatting' ) ) }} runs-on: ubuntu-20.04 steps: + - name: Apply Formatting Fix of Common Files + id: check-formatting-of-common + uses: FreeRTOS/CI-CD-Github-Actions/formatting-bot@main + continue-on-error: true + with: + path: FreeRTOS/Demo/Common + exclude-dirs: ethernet, drivers + - name: Apply Formatting Fix + id: check-formatting-of-rest uses: FreeRTOS/CI-CD-Github-Actions/formatting-bot@main - id: check-formatting + continue-on-error: true + with: + exclude-dirs: ethernet, drivers, FreeRTOS/Demo + \ No newline at end of file