Skip to content

Pin third-party Actions - #21

Merged
Iron-Mark merged 2 commits into
mainfrom
agent/pin-third-party-actions
Aug 19, 2026
Merged

Pin third-party Actions#21
Iron-Mark merged 2 commits into
mainfrom
agent/pin-third-party-actions

Conversation

@Iron-Mark

@Iron-Mark Iron-Mark commented Aug 19, 2026

Copy link
Copy Markdown
Owner

What changed

  • pin every subosito/flutter-action@v2 use to the current immutable v2 commit
  • pin every android-actions/setup-android@v4 use to the current immutable v4 commit
  • retain major-version comments so future maintenance remains clear
  • update release source guards to require the approved immutable SHAs and reject the old moving tags

Why

CodeQL opened six medium-severity actions/unpinned-tag alerts. Moving action tags can be retargeted upstream, while full commit SHAs make workflow dependencies immutable.

The first CI attempt exposed two source-guard expectations that still required the old moving Android tag. Those guards now enforce the pinned revisions instead.

Impact

Workflow behavior and configured tool versions are unchanged. The same upstream action revisions are now referenced by SHA.

Validation

  • git diff --check
  • CodeQL passed on the pinned workflow commit
  • verified all six flagged references use 40-character commit SHAs
  • resolved the pinned SHAs directly from the upstream v2 and v4 tag refs
  • full CI rerun pending; Flutter is not installed in the local Windows environment

@Iron-Mark
Iron-Mark marked this pull request as ready for review August 19, 2026 03:27
@Iron-Mark
Iron-Mark merged commit 78714d4 into main Aug 19, 2026
9 checks passed
@Iron-Mark
Iron-Mark deleted the agent/pin-third-party-actions branch August 19, 2026 03:27
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.

1 participant