The action to detect changes needs a repository to be checked out on push event (#22324)
This commit is contained in:
parent
b304b4bdb0
commit
2aab415f3d
1 changed files with 4 additions and 0 deletions
4
.github/workflows/unit_tests.yaml
vendored
4
.github/workflows/unit_tests.yaml
vendored
|
@ -77,6 +77,10 @@ jobs:
|
|||
packages: ${{ steps.filter.outputs.packages }}
|
||||
with_coverage: ${{ steps.coverage.outputs.with_coverage }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
with:
|
||||
fetch-depth: 0
|
||||
# For pull requests it's not necessary to checkout the code
|
||||
- uses: dorny/paths-filter@v2
|
||||
id: filter
|
||||
|
|
Loading…
Reference in a new issue