Skip to content

ci(downstream): pin bytecodealliance/actions to a commit SHA - #1689

Merged
robcohen merged 1 commit into
mainfrom
fix/pin-wasmtime-action
Jul 2, 2026
Merged

robcohen merged 1 commit into
mainfrom
fix/pin-wasmtime-action

Conversation

@robcohen

@robcohen robcohen commented Jul 2, 2026

Copy link
Copy Markdown
Member

Fixes code-scanning alert #200 (actions/unpinned-tag, medium): downstream.yml's wasmtime setup step used the mutable @v1 tag — copied from rustfava's own test.yml, which doesn't enforce this repo's pin-by-SHA convention. Now pinned to the commit v1 resolves to (9152e71), matching every other action in the repo.

Verified: this is the only open unpinned-tag alert; YAML parses.

🤖 Generated with Claude Code

Fixes code-scanning alert #200 (actions/unpinned-tag): the wasmtime setup
step used the mutable v1 tag — copied from rustfava's workflow, which doesn't
enforce this repo's pin-by-SHA convention. Pinned to the commit v1 currently
resolves to, with the usual version comment.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@robcohen
robcohen requested a review from a team as a code owner July 2, 2026 15:56
Copilot AI review requested due to automatic review settings July 2, 2026 15:56

Copilot AI 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.

Pull request overview

Pins the Wasmtime setup GitHub Action in the downstream CI workflow to an immutable commit SHA, aligning with this repository’s “pin actions by SHA” security convention and resolving the actions/unpinned-tag code-scanning alert.

Changes:

  • Replaced bytecodealliance/actions/wasmtime/setup@v1 with a full commit SHA pin in .github/workflows/downstream.yml.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@robcohen
robcohen merged commit c74ceee into main Jul 2, 2026
37 checks passed
@robcohen
robcohen deleted the fix/pin-wasmtime-action branch July 2, 2026 15:58
@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

✅ Compatibility Test Results

Metric Result
Check Compatibility 100%
BQL Compatibility 100%
Full AST Match 100%
Total Files 792
What's tested
  • Check: Exit codes and error counts match bean-check
  • BQL: Query results match bean-query
  • Files: ~800 test files downloaded from 10+ beancount repositories

Full results available in workflow artifacts

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.

2 participants