From 5ffecec94decf1e3b2af0bc9ea102cde078c93a2 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Tue, 19 Sep 2023 04:43:09 +0200
Subject: [PATCH] ci(earthly): Add local command to rotate all secrets

---
 Earthfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Earthfile b/Earthfile
index 40e087489..445dbc56a 100644
--- a/Earthfile
+++ b/Earthfile
@@ -43,3 +43,7 @@ merge:
     RUN git push
     RUN git push origin --delete ${branch}
 
+rotate:
+    LOCALLY
+    RUN grep -Ril "sops:" ./**/*.yaml | xargs sops -r -i
+
-- 
GitLab