Skip to content

ci: pin actions to SHAs and remove setup-maven#1310

Merged
joaodinissf merged 2 commits into
dsldevkit:masterfrom
joaodinissf:ci-cleanup-verify
Apr 16, 2026
Merged

ci: pin actions to SHAs and remove setup-maven#1310
joaodinissf merged 2 commits into
dsldevkit:masterfrom
joaodinissf:ci-cleanup-verify

Conversation

@joaodinissf
Copy link
Copy Markdown
Collaborator

Summary

  • Pin all GitHub Actions in verify.yml to immutable commit SHAs (mutable version tags are a supply-chain risk)
  • Remove third-party stCarolas/setup-maven — Ubuntu 24.04 runners ship Maven 3.9.14, covered by the enforcer rule [3.9.0,4)

Actions pinned

Action Version SHA
actions/checkout v6.0.2 de0fac2e
actions/setup-java v5.2.0 be666c2f
actions/cache v5.0.5 27d5ce7f
actions/upload-artifact v7.0.1 043fb46d

All SHAs verified against latest subversion tags.

Test plan

  • CI passes with runner-provided Maven (no explicit Maven setup step)
  • PMD, Checkstyle, and maven-verify jobs all succeed

🤖 Generated with Claude Code

joaodinissf and others added 2 commits April 15, 2026 22:15
Mutable version tags (v6, v5, etc.) can be force-pushed by action
maintainers, making them a supply-chain risk. Pin all actions in
verify.yml to immutable commit SHAs with version comments.

- actions/checkout v6.0.2 (de0fac2e)
- actions/setup-java v5.2.0 (be666c2f)
- actions/cache v5.0.5 (27d5ce7f)
- actions/upload-artifact v7.0.1 (043fb46d)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Ubuntu 24.04 runners ship Maven 3.9.14, which satisfies the enforcer
rule [3.9.0,4) in ddk-parent. No need for stCarolas/setup-maven.

Add a version logging step so the runner-provided Maven version is
visible in CI output.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@joaodinissf joaodinissf marked this pull request as draft April 15, 2026 20:26
@joaodinissf joaodinissf marked this pull request as ready for review April 16, 2026 12:18
@joaodinissf joaodinissf enabled auto-merge (rebase) April 16, 2026 12:20
@joaodinissf joaodinissf requested a review from rubenporras April 16, 2026 12:20
@joaodinissf joaodinissf merged commit cd12d0e into dsldevkit:master Apr 16, 2026
3 checks passed
@joaodinissf joaodinissf deleted the ci-cleanup-verify branch April 20, 2026 08:28
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