[PR #5364] [CLOSED] ci: pin GitHub Actions to immutable commit SHAs #5860

Closed
opened 2026-11-02 04:04:35 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/5364
Author: @n0ctal
Created: 6/15/2026
Status: ❌ Closed

Base: main ← Head: pr-dep002-pin-actions-sha


📝 Commits (1)

  • 5e0eed3 ci: pin GitHub Actions to immutable commit SHAs

📊 Changes

8 files changed (+50 additions, -50 deletions)

View changed files

📝 .github/workflows/ci.yml (+13 -13)
📝 .github/workflows/claude-issue-bot.yml (+4 -4)
📝 .github/workflows/codeql.yml (+4 -4)
📝 .github/workflows/docker.yml (+7 -7)
📝 .github/workflows/image.yml (+6 -6)
📝 .github/workflows/mutation.yml (+3 -3)
📝 .github/workflows/release.yml (+11 -11)
📝 .github/workflows/smoke.yml (+2 -2)

📄 Description

Summary

Pins every GitHub Action across all workflows to an immutable commit SHA.

Why

Tag references (e.g. @v6) are mutable and can be repointed by a compromised or hijacked action repo, allowing arbitrary code into CI.

Scope

  • pins all distinct actions across every workflow to their full commit SHA
  • keeps the version as a trailing comment for readability
  • follows OpenSSF Scorecard pinned-dependencies guidance
  • CI-only; no runtime or product change

Validation

  • all workflows re-validated as parseable YAML
  • version comments preserve the human-readable tag

Risk

Low. CI configuration only.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/5364 **Author:** [@n0ctal](https://github.com/n0ctal) **Created:** 6/15/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `pr-dep002-pin-actions-sha` --- ### 📝 Commits (1) - [`5e0eed3`](https://github.com/MHSanaei/3x-ui/commit/5e0eed34b00656558415f543653338dd7a5282c0) ci: pin GitHub Actions to immutable commit SHAs ### 📊 Changes **8 files changed** (+50 additions, -50 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yml` (+13 -13) 📝 `.github/workflows/claude-issue-bot.yml` (+4 -4) 📝 `.github/workflows/codeql.yml` (+4 -4) 📝 `.github/workflows/docker.yml` (+7 -7) 📝 `.github/workflows/image.yml` (+6 -6) 📝 `.github/workflows/mutation.yml` (+3 -3) 📝 `.github/workflows/release.yml` (+11 -11) 📝 `.github/workflows/smoke.yml` (+2 -2) </details> ### 📄 Description ## Summary Pins every GitHub Action across all workflows to an immutable commit SHA. ## Why Tag references (e.g. `@v6`) are mutable and can be repointed by a compromised or hijacked action repo, allowing arbitrary code into CI. ## Scope - pins all distinct actions across every workflow to their full commit SHA - keeps the version as a trailing comment for readability - follows OpenSSF Scorecard pinned-dependencies guidance - CI-only; no runtime or product change ## Validation - all workflows re-validated as parseable YAML - version comments preserve the human-readable tag ## Risk Low. CI configuration only. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 04:04:35 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5860
No description provided.