mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 08:23:15 +01: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
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…
x
Reference in New Issue
Block a user