spiegel_podman/hack/ci
Kir Kolyshkin d05c113acd 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>
2026-06-03 11:44:07 -07:00
..
ci.sh New GHA lima ci testing setup 2026-06-01 13:01:34 +02:00
ci_yaml_test.py validate ci.yml file 2026-06-01 20:34:27 +02:00
get-local-registry-script Rename contrib/cirrus to hack/ci 2026-06-01 13:01:33 +02:00
gha_mac_cleanup.sh CI: Adjust Mac tmpdir 2026-06-01 13:24:35 -04:00
lib.sh New GHA lima ci testing setup 2026-06-01 13:01:34 +02:00
logcollector.sh New GHA lima ci testing setup 2026-06-01 13:01:34 +02:00
logformatter Rename contrib/cirrus to hack/ci 2026-06-01 13:01:33 +02:00
logformatter.t Rename contrib/cirrus to hack/ci 2026-06-01 13:01:33 +02:00
make-and-check-size.sh ci: fix validate-source checks vs stale labels 2026-06-03 11:44:07 -07:00
pr-removes-fixed-skips Migrate validate-source from Cirrus to GitHub Actions 2026-06-01 13:01:33 +02:00
pr-removes-fixed-skips.t Rename contrib/cirrus to hack/ci 2026-06-01 13:01:33 +02:00
pr-should-include-tests ci: fix validate-source checks vs stale labels 2026-06-03 11:44:07 -07:00
pr-should-include-tests.t Migrate validate-source from Cirrus to GitHub Actions 2026-06-01 13:01:33 +02:00
runner.sh New GHA lima ci testing setup 2026-06-01 13:01:34 +02:00
swagger_stack_trace.png Rename contrib/cirrus to hack/ci 2026-06-01 13:01:33 +02:00
template.lima.yml New GHA lima ci testing setup 2026-06-01 13:01:34 +02:00
win-lib.ps1 Rename contrib/cirrus to hack/ci 2026-06-01 13:01:33 +02:00