Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/cleanup-caches.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Cleanup github runner caches on closed pull requests
on:
pull_request:
# pull_request_target is required so fork PRs can delete their own caches on close.
# pull_request from a fork ships a read-only GITHUB_TOKEN regardless of the
# permissions: block, causing gh cache delete to fail with HTTP 403.
# Safe here: no PR code is checked out, the workflow only calls gh cache list/delete.
pull_request_target:
types:
- closed

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-smokes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ jobs:
version: "1.12.5"

- name: Load Julia packages from cache
uses: julia-actions/cache@v2
uses: julia-actions/cache@v3
with:
cache-name: julia-cache;workflow=${{ github.workflow }};job=${{ github.job }};julia=${{ steps.setup-julia.outputs.julia-version }}

Expand Down
Loading