Skip to content

Pinning GitHub actions#40

Merged
elgordomac merged 1 commit intomainfrom
eng-11298/pinning-github-actions
Dec 5, 2025
Merged

Pinning GitHub actions#40
elgordomac merged 1 commit intomainfrom
eng-11298/pinning-github-actions

Conversation

@elgordomac
Copy link
Copy Markdown
Contributor

@elgordomac elgordomac commented Dec 3, 2025

Summary by cubic

Pinned the sdk_generation and sdk_publish workflows to commit 3fdab59e for speakeasy-api/sdk-generation-action, replacing the floating v15 tag. Meets ENG-11298 by enforcing action version pinning for stability and security.

Written for commit 8a52647. Summary will update automatically on new commits.

Copilot AI review requested due to automatic review settings December 3, 2025 15:02
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR improves security by pinning GitHub Actions to a specific commit SHA instead of using mutable version tags. This follows security best practices by preventing potential supply chain attacks where tags could be moved to point to malicious code.

  • Replaced version tag @v15 with commit SHA @3fdab59e74dda7831d7401f7aa1bb55d706913d7 across workflow files
  • Added inline comments # v15 to maintain version traceability
  • Applied changes consistently to all reusable workflow references

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/sdk_publish.yaml Pinned the sdk-publish.yaml workflow to commit SHA with v15 comment
.github/workflows/sdk_generation.yaml Pinned the workflow-executor.yaml workflow to commit SHA with v15 comment

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

cubic analysis

No issues found across 2 files

Linked issue analysis

Linked issue: ENG-11298: Github actions should be version pinned and policy set organization-wide

Status Acceptance criteria Notes
GitHub actions should be version pinned (no floating tags) — pin sdk_generation and sdk_publish workflows to commit SHAs Replaced @V15 with commit SHA in both workflow files
Policy set organization-wide to enforce action version pinning No org policy or config changes present in the diffs

Copy link
Copy Markdown

@ryoppippi ryoppippi left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@elgordomac elgordomac merged commit b17924e into main Dec 5, 2025
7 checks passed
@elgordomac elgordomac deleted the eng-11298/pinning-github-actions branch December 5, 2025 14:24
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