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
5 changes: 3 additions & 2 deletions .github/workflows/gh-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: GitHub Cache
on:
push:
branches: [trunk]
# Browser pins (common/repositories.bzl, common/browsers.bzl) are deliberately
# absent: this job populates with --pin_browsers=false, so those repositories
# are never fetched and a run triggered by them has nothing new to cache.
paths:
- 'MODULE.bazel'
- 'multitool.lock.json'
Expand All @@ -12,8 +15,6 @@ on:
- 'py/requirements_lock.txt'
- 'rb/Gemfile.lock'
- 'dotnet/paket.lock'
- 'common/repositories.bzl'
- 'common/browsers.bzl'
schedule:
- cron: '30 6 * * *'
workflow_dispatch:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/prune-caches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ name: Prune CodeQL caches

on:
workflow_run:
# No branch filter: CodeQL runs mostly from pull requests, and those caches
# count against the same 10 GiB repo budget as the trunk ones.
workflows: ["CodeQL"]
types: [completed]
branches: [trunk]
workflow_dispatch:

concurrency:
Expand Down
Loading