Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: pin dependency fix for rust toolchain #137

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

deepakraog
Copy link
Contributor

@deepakraog deepakraog commented Nov 12, 2024

pin dependencies in github actions #132

Scorecard(Locally)

image

Note - Observation:

npm doesn’t support hash-based pinning like GitHub Actions do. I tried few things but the node_module build itself propagates warning.
Here what i tried:
Create a package.json in .github/workflows directory.
Define renovate as a dependency with a specific version.
Commit the generated package-lock.json to lock the version and all sub-dependencies.
and in workflow add

  • name: Install Renovate
    run: npm ci --prefix .github/workflows

image

@deepakraog deepakraog merged commit 429139f into main Nov 12, 2024
5 checks passed
@deepakraog deepakraog deleted the ossf/pin-deps-toolchain branch November 12, 2024 14:02
This was referenced Nov 12, 2024
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