Skip to content

IONOS(CI): Pin GitHub Actions in build workflow#314

Merged
bromiesTM merged 2 commits into
ionos-devfrom
kh/dev/pin-action-versions
Jul 1, 2026
Merged

IONOS(CI): Pin GitHub Actions in build workflow#314
bromiesTM merged 2 commits into
ionos-devfrom
kh/dev/pin-action-versions

Conversation

@bromiesTM

Copy link
Copy Markdown

No description provided.

Replace floating action versions with pinned commit SHAs in
.github/workflows/build-artifact.yml and update referenced
releases, including JFrog and Docker actions, to improve supply
chain security and reproducibility

Signed-off-by: Kai Henseler <kai.henseler@strato.de>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Pins third-party GitHub Actions in the build-artifact workflow to specific commit SHAs to improve supply-chain security and reproducibility.

Changes:

  • Replaces floating action refs (e.g., @v4, @v5, @v6) with pinned commit SHAs across the workflow.
  • Updates several actions to newer major versions while pinning (e.g., checkout/cache/artifact actions, docker actions).
  • Minor whitespace cleanup in the build type computation.
Comments suppressed due to low confidence (1)

.github/workflows/build-artifact.yml:486

  • This workflow now uses jfrog/setup-jfrog-cli v5.0.0 in build-artifact, but other jobs in the same workflow still use v4.4.1 (e.g. the build-external-apps and Push to artifactory jobs). Mixing major versions can make the jf command behavior differ between jobs and complicate troubleshooting; consider standardizing on one version across the workflow (either upgrade the other steps to v5 as well, or keep this step on v4.4.1).
      - name: Setup JFrog CLI
        uses: jfrog/setup-jfrog-cli@1641575d87647fb969c0545f0b6a76873e328b7c # v5.0.0
        env:
          JF_URL: ${{ secrets.JF_ARTIFACTORY_URL }}
          JF_USER: ${{ secrets.JF_ARTIFACTORY_USER }}
          JF_ACCESS_TOKEN: ${{ secrets.JF_ACCESS_TOKEN }}


- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # 7.0.0
@bromiesTM bromiesTM force-pushed the kh/dev/pin-action-versions branch from 8736108 to ac19afb Compare July 1, 2026 08:36
@bromiesTM bromiesTM merged commit 64d1281 into ionos-dev Jul 1, 2026
17 of 24 checks passed
@bromiesTM bromiesTM deleted the kh/dev/pin-action-versions branch July 1, 2026 11:33
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.

3 participants