From 0f3a84643bbe9e6145cffca607b4227cd4bc17dc Mon Sep 17 00:00:00 2001 From: Geza Lore Date: Tue, 15 Sep 2026 17:01:27 +0100 Subject: [PATCH] CI: Fix pr-notification deletion --- ci/ci-pages-notify.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/ci-pages-notify.bash b/ci/ci-pages-notify.bash index 9043e7264..e0d49ebb7 100755 --- a/ci/ci-pages-notify.bash +++ b/ci/ci-pages-notify.bash @@ -158,7 +158,7 @@ NEXTHIST_TEMPLATE # 'pr-notification' for a single run, as the artifacts endpoint lists # artifacts across all run attempts, and a re-run uploads a new one while # keeping the previous attempt's artifact. - ARTIFACT_IDS=$(gh api "repos/{owner}/{repo}/actions/runs/${RUN_ID}/artifacts" --jq '.artifacts[] | select(.name == "pr-notification") | .id') + ARTIFACT_IDS=$(gh api "repos/{owner}/{repo}/actions/runs/${RUN_ID}/artifacts?name=pr-notification" --jq '.artifacts[].id') # Delete them all, so we only notify once for ARTIFACT_ID in ${ARTIFACT_IDS}; do