-
Notifications
You must be signed in to change notification settings - Fork 0
Fix Synopsys workflow: remove spacing inconsistencies, replace placeholders, add error handling #10
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
base: LukeLarge-patch-1
Are you sure you want to change the base?
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 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -43,9 +43,10 @@ jobs: | |||||||||||||
| - name: Static Analysis with Polaris | ||||||||||||||
| if: ${{steps.prescription.outputs.sastScan == 'true' }} | ||||||||||||||
| run: | | ||||||||||||||
| export POLARIS_SERVER_URL=${{ secrets.POLARIS_SERVER_URL}} | ||||||||||||||
| export POLARIS_ACCESS_TOKEN=${{ secrets.POLARIS_ACCESS_TOKEN}} | ||||||||||||||
| wget -q ${{ secrets.POLARIS_SERVER_URL}}/api/tools/polaris_cli-linux64.zip | ||||||||||||||
| set -e | ||||||||||||||
| export POLARIS_SERVER_URL=${{secrets.POLARIS_SERVER_URL}} | ||||||||||||||
| export POLARIS_ACCESS_TOKEN=${{secrets.POLARIS_ACCESS_TOKEN}} | ||||||||||||||
| wget -q ${{secrets.POLARIS_SERVER_URL}}/api/tools/polaris_cli-linux64.zip | ||||||||||||||
|
Comment on lines
+47
to
+49
|
||||||||||||||
| export POLARIS_SERVER_URL=${{secrets.POLARIS_SERVER_URL}} | |
| export POLARIS_ACCESS_TOKEN=${{secrets.POLARIS_ACCESS_TOKEN}} | |
| wget -q ${{secrets.POLARIS_SERVER_URL}}/api/tools/polaris_cli-linux64.zip | |
| export POLARIS_SERVER_URL="${{secrets.POLARIS_SERVER_URL}}" | |
| export POLARIS_ACCESS_TOKEN="${{secrets.POLARIS_ACCESS_TOKEN}}" | |
| wget -q "${POLARIS_SERVER_URL}/api/tools/polaris_cli-linux64.zip" |
Copilot
AI
Mar 1, 2026
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.
Expression formatting is inconsistent (some use ${{secrets.X}}, others ${{ github.* }} with spaces). Consider standardizing to a single style across the workflow (commonly ${{ secrets.X }} / ${{ github.X }}) to reduce churn and make future diffs easier to review.
Copilot
AI
Mar 1, 2026
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.
Expression formatting is inconsistent (some use ${{secrets.X}}, others ${{ github.* }} with spaces). Consider standardizing to a single style across the workflow (commonly ${{ secrets.X }} / ${{ github.X }}) to reduce churn and make future diffs easier to review.
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.
set -eis likely redundant in GitHub Actionsrun:steps on Linux runners (the default bash invocation is typically already-eand-o pipefail). Consider removing this to avoid implying behavior changes that may already be present, or add a brief comment explaining why it’s needed here (e.g., ifshell:is overridden elsewhere).