From 003f106338209253110db29f44e6f5521092c605 Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Thu, 16 Jan 2025 07:32:20 -0800 Subject: [PATCH] Update GHA 429 notice wording Co-authored-by: Graham Christensen --- gha-cache/src/api.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gha-cache/src/api.rs b/gha-cache/src/api.rs index 52a7a83..7d56626 100644 --- a/gha-cache/src/api.rs +++ b/gha-cache/src/api.rs @@ -628,12 +628,13 @@ impl AtomicCircuitBreaker for AtomicBool { } = e { tracing::info!("Disabling GitHub Actions Cache due to 429: Too Many Requests"); + let title = "Magic Nix Cache was rate-limited by GitHub Actions."; let msg = "\ - Magic Nix Cache has exceeded GitHub Actions Cache's rate limit. \ - Save more time and seamlessly share the builds across your team with FlakeHub Cache. \ - See: https://flakehub.com/pricing\ + Turn Magic Nix Cache into a cache for your whole team. \ + Move beyond GitHub's limits, save time, and share builds outside CI with FlakeHub Cache. \ + See: https://dtr.mn/github-cache-limits\ "; - println!("::notice::{msg}"); + println!("::notice title={title}::{msg}"); self.store(true, Ordering::Relaxed); } }