Skip to content

Conversation

@Marukome0743
Copy link

Description

Use version tags for GitHub Actions in the commitlint CI workflow instead of commit SHAs to improve immutability and maintainability.

CI:

  • Pin actions/checkout to v4 instead of a specific commit SHA
  • Pin actions/setup-node to v4 instead of a specific commit SHA

Motivation and Context

Most first-party actions now use https://github.com/actions/publish-immutable-action, which negates the need for commit hashes, but this is not available for third-party actions yet.

Usage examples

N/A

How Has This Been Tested?

N/A

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@escapedcat
Copy link
Member

Thank you so much, sorry for my late comment!

@escapedcat
Copy link
Member

Please go to bed now :D

@escapedcat escapedcat merged commit b021a07 into conventional-changelog:master Jun 27, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants