Skip to content

Commit 00deb49

Browse files
workflows: build: skip build if not needed
Skip building when not needed. Signed-off-by: Giacomo Dematteis <giacomo.dematteis@nordicsemi.no>
1 parent 5390c20 commit 00deb49

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yml

+4
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,13 @@ on:
3030
- main
3131
paths-ignore:
3232
- "tests/on_target/**"
33+
- ".github/workflows/*.yml"
34+
- "!.github/workflows/build.yml"
3335
pull_request:
3436
paths-ignore:
3537
- "tests/on_target/**"
38+
- ".github/workflows/*.yml"
39+
- "!.github/workflows/build.yml"
3640
schedule:
3741
- cron: "0 0 * * *"
3842

0 commit comments

Comments
 (0)