Skip to content

Commit 1942f1a

Browse files
committed
[CI] Avoid to run worklow on some files changed
which does not impact compilation. Signed-off-by: Frederic Pillon <[email protected]>
1 parent b494f4d commit 1942f1a

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/Continuous-Integration.yml

+16-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
name: STM32 Core Continuous Integration
2-
on: [push, pull_request]
2+
on:
3+
push:
4+
paths-ignore:
5+
- '*.json'
6+
- '**.md'
7+
- keywords.txt
8+
- CI/**
9+
- tools/**
10+
pull_request:
11+
paths-ignore:
12+
- '*.json'
13+
- '**.md'
14+
- keywords.txt
15+
- CI/**
16+
- tools/**
317
jobs:
418
astyle_check:
519
runs-on: ubuntu-latest
@@ -36,4 +50,4 @@ jobs:
3650
if: failure()
3751
run: |
3852
cat ${{ steps.Compile.outputs.compile-result }}
39-
exit 1
53+
exit 1

0 commit comments

Comments
 (0)