-
Notifications
You must be signed in to change notification settings - Fork 10
Post-release v1.3.0 #52
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,7 +50,7 @@ func main() { | |
| app := &cli.App{ | ||
| Name: "codeowners-cli", | ||
| Usage: "CLI tool for working with .codeowners files", | ||
| Version: "v1.1.2.dev", | ||
| Version: "v1.3.1.dev", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hardcoding the version string here can be brittle and easy to forget to update. For better maintainability, consider setting the version at build time using linker flags ( |
||
| Description: "", | ||
| Commands: []*cli.Command{ | ||
| { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using a version tag like
@v1.3.0is common, but for improved security and reproducible builds, it's a best practice to pin actions to a specific commit SHA. Tags are mutable and can be moved, which could lead to your workflow unexpectedly running different code. Using the full-length commit SHA of thev1.3.0release would make this example more robust and secure against potential supply chain issues.