spiegel_podman/hack/ci
Kir Kolyshkin 645c4f3842
ci: fix validate-source checks vs stale labels
When the validate-source job is re-run manually after adding a label,
it uses stale labels (from the "pull_request" event that originally
triggered it), and so the steps that check labels don't see new labels.

Fix by querying the labels live (similar to how it was done before
commits 6e597af6dc and 1da154117c).

Note the logic differs slightly between hack/ci/make-and-check-size.sh
and hack/ci/pr-should-include-tests. This is because
pr-should-include-tests is also executed locally as well as on non-PRs,
while make-and-check-size is run strictly in CI for PRs only.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit d05c113acd)
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-08 15:24:51 +02:00
..
99-do-not-use-google-subnets.conflist Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
ci.sh New GHA lima ci testing setup 2026-06-04 20:04:26 +02:00
ci_yaml_test.py validate ci.yml file 2026-06-04 20:04:29 +02:00
CIModes.md Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
get-local-registry-script Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
gha_mac_cleanup.sh CI: Adjust Mac tmpdir 2026-06-04 20:04:28 +02:00
lib.sh New GHA lima ci testing setup 2026-06-04 20:04:26 +02:00
lib.sh.t Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
logcollector.sh New GHA lima ci testing setup 2026-06-04 20:04:26 +02:00
logformatter Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
logformatter.t Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
mac_cleanup.sh Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
mac_env.sh Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
mac_runner.sh Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
mac_setup.sh Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
make-and-check-size.sh ci: fix validate-source checks vs stale labels 2026-06-08 15:24:51 +02:00
postbuild.sh Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
pr-removes-fixed-skips Migrate validate-source from Cirrus to GitHub Actions 2026-06-04 20:04:25 +02:00
pr-removes-fixed-skips.t Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
pr-should-include-tests ci: fix validate-source checks vs stale labels 2026-06-08 15:24:51 +02:00
pr-should-include-tests.t Migrate validate-source from Cirrus to GitHub Actions 2026-06-04 20:04:25 +02:00
prebuild.sh Migrate validate-source from Cirrus to GitHub Actions 2026-06-04 20:04:25 +02:00
runner.sh ci: delete netavark v2 2026-06-05 11:47:21 +02:00
setup_environment.sh Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
swagger_stack_trace.png Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
template.lima.yml New GHA lima ci testing setup 2026-06-04 20:04:26 +02:00
timestamp.awk Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
win-collect-wsl-logs-start.ps1 Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
win-collect-wsl-logs-stop.ps1 Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
win-installer-main.ps1 Update release ID in win-installer-main.ps1 2026-06-04 20:04:29 +02:00
win-lib.ps1 Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
win-podman-machine-main.ps1 Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
win-podman-machine-test.ps1 Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
win-sess-launch.ps1 Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
win-unit-main.ps1 Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00