-
Notifications
You must be signed in to change notification settings - Fork 8
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
chore: [DevOps] Update OWASP Workflow #190
Conversation
@@ -7,6 +7,9 @@ on: | |||
env: | |||
MVN_MULTI_THREADED_ARGS: --batch-mode --no-transfer-progress --fail-at-end --show-version --threads 1C | |||
JAVA_VERSION: 17 | |||
CVE_CACHE_KEY: cve-db |
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.
moved from separate workflow to this workflow, because we only need the DB in this job, and unifying them is more reliable
- name: Restore CVE Database | ||
uses: actions/cache/restore@v4 | ||
with: | ||
path: ${{ env.CVE_CACHE_DIR }} | ||
key: ${{ env.CVE_CACHE_KEY }} | ||
fail-on-cache-miss: true | ||
# fail-on-cache-miss: true |
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.
Not sure how to feel about this change.
Question:
- Did the logic succeed once? I.e. have you tested it to be working?
Otherwise LGTM
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.
This is a temporary change, needed because the cache needs to be initially created on main
branch first
Co-authored-by: Charles Dubois <103174266+CharlesDuboisSAP@users.noreply.github.com>
Co-authored-by: Charles Dubois <103174266+CharlesDuboisSAP@users.noreply.github.com>
Context
Test the cacheCurrently not possible, cache needs to be on main branch, and API rate limits are still restricting us