aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/format.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/format.yml')
-rw-r--r--.github/workflows/format.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml
index 9ebacc03..714c60bf 100644
--- a/.github/workflows/format.yml
+++ b/.github/workflows/format.yml
@@ -2,11 +2,12 @@ name: Code formatting
on:
pull_request:
- branches: [ master, develop ]
+ branches: [ develop ]
paths:
- '**.cpp'
- '**.h'
- '!src/libs/**'
+ - '!src/FreeRTOS/**'
jobs:
test-format:
@@ -18,8 +19,6 @@ jobs:
- name: Configure git
run: |
- git config --global user.email "-"
- git config --global user.name "Autoformatter"
git fetch origin "$GITHUB_BASE_REF":"$GITHUB_BASE_REF" --depth=1000
- name: Install clang-format