-
Notifications
You must be signed in to change notification settings - Fork 316
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
fix(githubactions): github actions relative path detected as not pinned #6958
fix(githubactions): github actions relative path detected as not pinned #6958
Conversation
@@ -28,3 +29,8 @@ isPinned(use){ | |||
regex.match("@[a-f0-9]{40}$", use) | |||
} | |||
|
|||
isRelative(use){ | |||
allowed := ["./", "../"] |
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.
Hi @cw-alexcroteau.
First, thank you for your contribution :).
I'm with one doubt, relative to the "../".
Why do you feel the necessity to support the "../" ?
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.
Hi, you are right, no need to support it. I completely missed your reply and carried on, let me remove that and sync my fork.
Hi @cw-alexcroteau , |
Hi @JoaoCxMartins, thanks for the heads up, it's now synced. |
Hi @cw-alexcroteau TY for your contribution to kics :) |
Closes #6957
Proposed Changes
I submit this contribution under the Apache-2.0 license.