GH Pin SHA for security and Stability.#487
Merged
Tatsinnit merged 1 commit intoAzure:mainfrom Feb 4, 2025
Merged
Conversation
There was a problem hiding this comment.
Copilot reviewed 5 out of 8 changed files in this pull request and generated no comments.
Files not reviewed (3)
- .github/workflows/e2e-info.yml: Evaluated as low risk
- .github/workflows/integration-install.yml: Evaluated as low risk
- .github/workflows/integration-json.yml: Evaluated as low risk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pinning dependencies is a best practice in software development because it ensures reliability, security, and consistency across builds and deployments. For general audience, here’s why it’s beneficial:
1. Ensures Build Stability
@latest,@v5), a new release could break your workflow unexpectedly.Example:
2. Improves Security
Lets always Pin Dependencies for Reliability & Security.
Pinning dependencies prevents unexpected failures, security risks, and inconsistent behavior across environments
Starting for this repo for now next up I will add the dependabot for this repo for these things for future update and share across for evangelism. Thanks heaps ❤️ fyi @davidgamero