mirror of
https://github.com/anchore/syft
synced 2024-11-10 06:14:16 +00:00
dont cleanup cache in forks (#3214)
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
parent
b153b1d594
commit
ba7bf6b85e
1 changed files with 1 additions and 1 deletions
2
.github/workflows/validations.yaml
vendored
2
.github/workflows/validations.yaml
vendored
|
@ -206,7 +206,7 @@ jobs:
|
|||
|
||||
Cleanup-Cache:
|
||||
name: "Cleanup snapshot cache"
|
||||
if: always()
|
||||
if: github.event.pull_request.head.repo.full_name == github.repository
|
||||
runs-on: ubuntu-20.04
|
||||
permissions:
|
||||
actions: write
|
||||
|
|
Loading…
Reference in a new issue