This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new 9ec5cf1aac forgejo/workflows: don't write fate-suite cache from PRs
9ec5cf1aac is described below
commit 9ec5cf1aac6ac402df6934cc3bcd825c4cfe1220
Author: Timo Rothenpieler <[email protected]>
AuthorDate: Mon Nov 23 13:48:26 2026 +0100
Commit: Timo Rothenpieler <[email protected]>
CommitDate: Tue Nov 24 11:13:26 2026 +0000
forgejo/workflows: don't write fate-suite cache from PRs
The runners save PR-Caches per-PR, as to avoid cache poisoning attacks.
But this also means that whenever new fate samples get uploaded,
and master has not yet run a build on that runner, each runner saves one
full
copy of the fate suite per PR, quickly exhausting their disk space.
With both the huge influx of PRs, and of new fate samples being uploaded,
this has lead to a quick exhaustion of runner disk space.
---
.forgejo/workflows/test.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml
index 5e6fd75a8c..295697065e 100644
--- a/.forgejo/workflows/test.yml
+++ b/.forgejo/workflows/test.yml
@@ -59,7 +59,7 @@ jobs:
echo "hash=$(find fate-suite -type f -printf "%P %s %T@\n" | sort |
sha256sum | cut -d' ' -f1)" >> $FORGEJO_OUTPUT
- name: Cache Fate-Suite
uses: actions/cache/save@v5
- if: ${{ format('fate-suite-{0}', steps.fate.outputs.hash) !=
steps.cache.outputs.cache-matched-key }}
+ if: ${{ forge.event_name != 'pull_request' && format('fate-suite-{0}',
steps.fate.outputs.hash) != steps.cache.outputs.cache-matched-key }}
with:
path: fate-suite
key: fate-suite-${{ steps.fate.outputs.hash }}
@@ -143,7 +143,7 @@ jobs:
echo "hash=$(find fate-suite -type f -printf "%P %s %T@\n" | sort |
sha256sum | cut -d' ' -f1)" >> $FORGEJO_OUTPUT
- name: Cache Fate-Suite
uses: actions/cache/save@v5
- if: ${{ format('fate-suite-{0}', steps.fate.outputs.hash) !=
steps.cache.outputs.cache-matched-key }}
+ if: ${{ forge.event_name != 'pull_request' && format('fate-suite-{0}',
steps.fate.outputs.hash) != steps.cache.outputs.cache-matched-key }}
with:
path: fate-suite
key: fate-suite-${{ steps.fate.outputs.hash }}
--
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]