Skip to content

[CI] Pin GitHub Actions to commit SHAs instead of tags #49727

Closed as not planned
Closed as not planned

Description

@thisisnic

Describe the enhancement

All GitHub Actions references currently use version tags (e.g. actions/checkout@v6). Per ASF best practices, these should be pinned to full commit SHAs to ensure reproducibility and protect against upstream tag changes.

This affects 146 action references across virtually all workflow files. The zizmor tool can auto-fix most of these with zizmor --fix.

Example

Before:

uses: actions/checkout@v6

After:

uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v6

Component(s)

Continuous Integration

Activity

  1. thisisnic commented on Apr 29, 2026

    @thisisnic
    MemberAuthor

    Closing as isn't necessary for the GitHub Actions, only external ones

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions