ci: only run the canary test on code changes

If no Go files changed we do not run the CI.

Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
Sébastien Han committed 2020-11-16 18:05:07 +01:00
1 parent 841efd1d94
commit 2d1cf09d8d
5 files changed
+26 -4

No files matched your search

+4 -1
View File
@@ -1,5 +1,8 @@
name: Codegen
on: [pull_request]
on:
pull_request:
paths:
- '**.go'
jobs:
codegen: