Skip to content

Fix CI workflows using non-existent actions/checkout@v7 and upload-artifact@v7 #506

Description

@PrincessnJoy

Description

Several .github/workflows/ files reference GitHub Actions versions that do not exist:

  • actions/checkout@v7 — latest stable is v4 (v7 does not exist)
  • actions/upload-artifact@v7 — latest stable is v4 (v7 does not exist)

When a workflow run hits these steps, GitHub Actions will fail with:

Error: Unable to resolve action `actions/checkout@v7`, the action does not exist

This breaks every CI job that uses these actions — including the main ci.yml, matrix.yml, release.yml, and potentially others.

Affected Files

Audit all files under .github/workflows/ for these patterns:

  • actions/checkout@v7
  • actions/upload-artifact@v7
  • Any other @v5, @v6, or @v7 suffixes on official GitHub Actions (verify against github.com/actions)

Acceptance Criteria

  • All actions/checkout references updated to actions/checkout@v4
  • All actions/upload-artifact references updated to actions/upload-artifact@v4
  • All workflow files audited for other out-of-range action versions and corrected
  • Action versions are pinned to a specific SHA digest (e.g., actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2) per security best practice to prevent supply-chain attacks
  • At least one CI run completes successfully after the fix (no Unable to resolve action errors)
  • Add a note to CONTRIBUTING.md or a workflow comment about the version pinning policy

Security Note

Pinning actions to a commit SHA (not just a tag) is recommended by GitHub's own security hardening guide, as tags can be moved. The dependency-scan.yml workflow (already present) should be configured to flag unpinned action references.

Priority

High — CI is broken for all workflows using these actions.

Estimated Effort

Small

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcidevops

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions