-
Notifications
You must be signed in to change notification settings - Fork 0
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(static-analysis): unpausing and refractoring semgrep checks #37
base: main
Are you sure you want to change the base?
Conversation
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.
can you update the path on the test file too
Release notes previewBelow is a preview of the release notes if your PR gets merged. 2.2.2 (2024-11-22)Bug Fixes
Miscellaneous
|
Updated the path on test. Both checks have passed. Thanks!! |
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.
Fixed the path.
@@ -21,6 +21,6 @@ jobs: | |||
- uses: open-turo/actions-gha/test@v2 | |||
with: | |||
github-token: ${{ secrets.GITHUB_TOKEN }} | |||
- uses: ./static-analysis/semgrep | |||
- uses: ./static-analysis |
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.
Updated the path here.
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.
@pkanoongo please can you create a retroactive breaking change doc in this repo and add instructions for the consuming repos on using the refactored path of this action.
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.
Just one thing about renaming the file
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.
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.
I think there are 2 options:
- Keep the file name as is
- Create a breaking change and rename the file -> Maybe this one is better as that way consumers don't need to know that it's semgrep this action uses? (but if we add more tools running them in parallel will require refactoring the action so things can run in parallel)
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.
I think option2 is better. We will add instructions in our breaking change doc.
Description
The PR restructures the repo to move the semgrep workflow action from '/static-analysis/semgrep' to '/static-analysis'. All the references to the semgrep are updated to use the new path. Also, unpausing the semgrep checks.
Fixes