You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pin actions/setup-java to an immutable commit SHA in CI workflow #393
Update the CI workflow to pin actions/setup-java to an immutable commit SHA instead of using the floating tag actions/setup-java@v4.
Why
The current workflow uses a mutable action reference in .github/workflows/CI.yml. Pinning the action to an exact commit SHA improves supply-chain security and aligns the workflow with stricter CI/SAST policies that require immutable action references.
Affected area
.github/workflows/CI.yml
Required change
Replace the current uses: actions/setup-java@v4 reference with the exact approved commit SHA for the same action revision, keeping the step behavior otherwise unchanged.
Acceptance criteria
.github/workflows/CI.yml no longer uses a floating tag for actions/setup-java
The workflow references actions/setup-java using a full commit SHA
The JDK configuration remains functionally the same (Java 21, Temurin, Gradle cache)
Activity