hathach 3 лет назад
Родитель
Сommit
34081f6c5c
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      .github/workflows/pre-commit.yml

+ 3 - 2
.github/workflows/pre-commit.yml

@@ -1,8 +1,9 @@
 name: pre-commit
 
 on:
-  pull_request:
   push:
+  pull_request:
+    branches: [ master ]
 
 concurrency:
   group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@@ -32,5 +33,5 @@ jobs:
       run: |
         # Install Ceedling
         gem install ceedling
-        cd test
+        cd test/unit-test
         ceedling test:all