The purge script was deleting workflow runs for PRs from forks because it
only checked branch existence in the main repo (X11Libre/xserver). Fork PR
branches don't exist there, so their runs were deleted immediately.
Fix: fetch the 'pull_requests' field from the workflow run API and skip
deletion if any associated PR is still open. Also fetch head_repository
for logging.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
All 47 files in .github/ (actions, arch, docker, scripts, workflows)
that were originally authored by Enrico Weigelt and don't end up in
the final X server binary now carry SPDX-License-Identifier headers.
File .github/scripts/ubuntu/run-pyxtest-valgrind.sh already had the
AGPL-3.0-or-later header — left as-is.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>