Skip to content

[CHORE] Lock actions to specific commit hash#1025

Merged
sbarrio merged 5 commits into
developfrom
sbarrio/internal/lock-actions-to-commit-hash
Nov 3, 2025
Merged

[CHORE] Lock actions to specific commit hash#1025
sbarrio merged 5 commits into
developfrom
sbarrio/internal/lock-actions-to-commit-hash

Conversation

@sbarrio

@sbarrio sbarrio commented Oct 23, 2025

Copy link
Copy Markdown
Contributor

What does this PR do?

It locks actions such as checkout, setup-node or stale to a particular commit-hash instead of a version.

It also adds a parameter to the publish action to make it so the lerna publish call does not await for user confirmation when running on CI.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)
  • If this PR is auto-generated, please make sure also to manually update the code related to the change

@sbarrio
sbarrio force-pushed the sbarrio/internal/lock-actions-to-commit-hash branch from b0ce572 to 7503cdd Compare October 23, 2025 09:26
@sbarrio
sbarrio marked this pull request as ready for review October 23, 2025 09:26
@sbarrio
sbarrio requested a review from a team as a code owner October 23, 2025 09:26
@sbarrio sbarrio self-assigned this Oct 23, 2025
@sbarrio sbarrio changed the title [Internal] Lock actions to specific commit hash [CHORE] Lock actions to specific commit hash Oct 23, 2025
@sbarrio
sbarrio force-pushed the sbarrio/internal/lock-actions-to-commit-hash branch from 7503cdd to 26508c9 Compare October 23, 2025 10:09
@sbarrio
sbarrio force-pushed the sbarrio/internal/lock-actions-to-commit-hash branch from 26508c9 to 6838b23 Compare October 23, 2025 10:09
node-version: '24.x'
- run: yarn
- run: yarn run lerna publish from-package
- run: yarn run lerna publish from-package --yes

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This will automatically accept all prompts coming from lerna.

@sbarrio
sbarrio merged commit 9eac1fe into develop Nov 3, 2025
11 checks passed
@sbarrio
sbarrio deleted the sbarrio/internal/lock-actions-to-commit-hash branch November 3, 2025 09:36
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.

2 participants