Skip to content

Pin GitHub Actions references to a full length commit SHA #1441

Closed

Description

@melodiouscode

Workflow files issue

Many GitHub Enterprises/Orgs require that all actions used in workflow files be pinned to a full-length commit SHA. The Squad workflow files are not pinned in this way, meaning that they have to be manually changed to be useable. Then when doing squad upgrade they have to be updated again.

Acceptance Criteria

  • All Squad Workflow files in .github/workflows folder have full-length commit SHA pins for all action uses.

Example

jobs:
  heartbeat:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7

Becomes

jobs:
  heartbeat:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@4f1f4aec02e41874fa0262ea8ff5172d7978ad1e #v7

Activity

  1. omercangumus commented on Jul 3, 2026

    @omercangumus
    Contributor

    picking this up. plan: resolve each action tag used across .github/workflows/*.yml to its full commit SHA via the GitHub API and rewrite the uses: lines to owner/repo@<sha> # vX, keeping the version as a trailing comment for readability. scoped to the 19 files in .github/workflows, 10 unique actions total.

  2. added a commit that references this issue on Jul 3, 2026
    3b7e5cc
  3. added a commit that references this issue on Jul 13, 2026
    40e05a7
  4. added a commit that references this issue on Aug 13, 2026
    54f699f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions