dont cleanup cache in forks (#3214)

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
Alex Goodman 2024-09-09 16:27:21 -04:00 committed by GitHub
parent b153b1d594
commit ba7bf6b85e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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