Conversation
Assisted-by: Codex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Keep CI actions on current revisions and detect ASF allowlist problems before they disrupt future builds. This follows the action upgrades in apache/pulsar-client-cpp#610, with the allowlist check included.
Modifications
Add
apache/infrastructure-actions/allowlist-check@mainimmediately after checkout in the main CI workflow. The added step has noif:condition and scans.github/**/*.y*ml, covering both workflow and local composite-action YAML files. It uses the default 30-day non-failing expiration warnings and fails on refs missing from the allowlist.Upgrade GitHub-owned actions to their latest stable majors and pin third-party actions to the latest revisions in ASF's actions.yml, with version comments:
actions/setup-javav5v6actions/setup-pythonv6v7azure/setup-helmdda3372f752e9bc31f4ebc9c6b171d7bfbaa5d006ae7abdb4310)Verifying this change
git diff --checkpassed..githubYAML files and verified that the new allowlist step has no condition.actionlint -shellcheck= -pyflakes=on all workflows and compared with the upstream baseline: the same 12 existing expression findings remain, with no new findings.Documentation
doc-not-needed: CI maintenance only; no public API or runtime dependency changes.