mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-12 04:55:49 +00:00
.github: retry-transient-failed: clean up old jobs
wipe the old runs of this job, in order to prevent our job list being spammed by the that cron job. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
d81babc1fa
commit
3415589c67
1 changed files with 7 additions and 0 deletions
7
.github/scripts/gh-retry-transient-failed
vendored
7
.github/scripts/gh-retry-transient-failed
vendored
|
|
@ -54,6 +54,13 @@ fi
|
|||
echo "Repo: $REPO (from remote '$UPSTREAM_REMOTE')"
|
||||
echo ""
|
||||
|
||||
# clean prior workflow runs to reduce spamming via cronjob
|
||||
gh run list -w "retry-transient-ci.yml" -s completed --json databaseId --jq '.[].databaseId' \
|
||||
| while read -r run_id; do
|
||||
echo "---> job id: $run_id"
|
||||
gh run delete "$run_id"
|
||||
done
|
||||
|
||||
########################################################################
|
||||
# 2. Gather all open PRs
|
||||
########################################################################
|
||||
|
|
|
|||
Loading…
Reference in a new issue