Commit ef2181f
authored
ci: Fix detect change job (#1158)
### ci: Fix detect change job
### Linked issues
none
### Summarize your change.
Add missing actions/checkout step before dorny/paths-filter in the
detect-changes job in ci.yml.
### Describe the reason for the change.
The detect-changes job fails on push, schedule, and workflow_dispatch
events with the error:
`fatal: not a git repository (or any of the parent directories): .git`
` dorny/paths-filter` can work without a checkout on pull_request events
(using the GitHub API), but on push, schedule, and workflow_dispatch
events it requires a local git repository to compare commits. The
checkout step was missing, causing the job to fail after merging to
main.
### Describe what you have tested and on which operating system.
CI
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>1 parent 0e7b3e6 commit ef2181f
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
0 commit comments