File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,18 @@ concurrency:
17
17
cancel-in-progress : true
18
18
19
19
jobs :
20
+ check-modified-files :
21
+ name : Check if source files were modified, skip remaining jobs if not
22
+ uses : ./.github/workflows/check_modified_files.yml
23
+ secrets : inherit
24
+ permissions :
25
+ contents : read
26
+ pull-requests : read
27
+
20
28
analyze-dotnet :
21
29
name : Analyze .NET
30
+ needs : check-modified-files
31
+ if : needs.check-modified-files.outputs.non-workflow-files-changed == 'true'
22
32
runs-on : windows-latest
23
33
timeout-minutes : 120
24
34
permissions :
55
65
56
66
analyze-cpp :
57
67
name : Analyze C++
68
+ needs : check-modified-files
69
+ if : needs.check-modified-files.outputs.non-workflow-files-changed == 'true'
58
70
runs-on : windows-latest
59
71
timeout-minutes : 120
60
72
permissions :
You can’t perform that action at this time.
0 commit comments