-
-
Notifications
You must be signed in to change notification settings - Fork 536
fix(ci): correct ZAP baseline report filename to avoid upload failure #3246
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
795f055
68792e9
afe44a4
698465b
563cdb8
d4b5060
8b5d675
331a39d
56c9819
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 |
|---|---|---|
|
|
@@ -621,15 +621,14 @@ jobs: | |
| target: 'https://nest.owasp.dev' | ||
| allow_issue_writing: false | ||
| fail_action: false | ||
| cmd_options: '-a -c .zapconfig -r report.html ' | ||
| cmd_options: '-a -c .zapconfig -r report_html.html' | ||
|
|
||
| - name: Upload report | ||
| if: always() | ||
| uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f | ||
| with: | ||
| name: zap-baseline-scan-report-${{ github.run_id }} | ||
| path: report.html | ||
|
|
||
| path: report_html.html | ||
|
Collaborator
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. So your code just renamed the report file. Why do you think it'll work now if it didn't work for the same approach with just a different name?
Contributor
Author
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. Previously, I removed the report file generation step because I initially thought that was causing the issue. |
||
|
|
||
| build-production-images: | ||
| name: Build Production Images | ||
|
|
@@ -965,11 +964,11 @@ jobs: | |
| target: 'https://nest.owasp.org' | ||
| allow_issue_writing: false | ||
| fail_action: false | ||
| cmd_options: '-a -c .zapconfig -r report.html ' | ||
| cmd_options: '-a -c .zapconfig -r report_html.html' | ||
|
|
||
| - name: Upload report | ||
| if: always() | ||
| uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f | ||
| with: | ||
| name: zap-baseline-scan-report-${{ github.run_id }} | ||
| path: report.html | ||
| path: report_html.html | ||
Uh oh!
There was an error while loading. Please reload this page.