Skip to content

ci: fix Rust cache action casing for ASF allowlist - #3249

Merged
blackmwk merged 1 commit into
apache:mainfrom
blackmwk:ir-3248
Sep 18, 2026
Merged

blackmwk merged 1 commit into
apache:mainfrom
blackmwk:ir-3248

Conversation

@blackmwk

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Closes #3248.

What changes are included in this PR?

The ASF allowlist checker compares action references case-sensitively. Six workflow steps use swatinem/rust-cache, but the approved pattern is Swatinem/rust-cache@*, causing the check to fail on every PR.

Correct the owner casing in the Rust CI, Python bindings CI, and public API workflows so all six references match the approved pattern.

Are these changes tested?

Ran the exact allowlist checker pinned by this repository (61dcea11f19e2bbe1263f14d72235e8da17d3ad0) against the current ASF allowlist, applying the same local-action reference normalization as CI:

  • Before the change: reproduced all six allowlist violations (exit code 1).
  • After the change: all 20 unique action references pass (exit code 0).
  • git diff --check passes.

The existing allowlist check covers this workflow-only change.

AI Disclosure

This PR was prepared with assistance from OpenAI Codex.

@xanderbailey xanderbailey left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing, this is causing #3236 to fail!

- name: Cache Rust artifacts
if: runner.os != 'Linux'
uses: swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this stuff is case sensitive? O_O

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea i guess so, it was recently changed in apache/infrastructure-actions@a67a59b

@blackmwk
blackmwk added this pull request to the merge queue Sep 18, 2026
Merged via the queue into apache:main with commit 832a4eb Sep 18, 2026
24 checks passed
@blackmwk
blackmwk deleted the ir-3248 branch September 18, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ASF allow list check failed

4 participants