-
Notifications
You must be signed in to change notification settings - Fork 4
Minor improvements for CodeQL ${workspace} pack dependencies and scripts
#337
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
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 | ||||
|---|---|---|---|---|---|---|
|
|
@@ -6,5 +6,5 @@ suites: codeql-suites | |||||
| extractor: javascript | ||||||
| dependencies: | ||||||
| codeql/javascript-all: "^2.6.24" | ||||||
| advanced-security/javascript-sap-cap-all: "2.25.0" | ||||||
| advanced-security/javascript-sap-cap-all: ${workspace} | ||||||
|
||||||
| advanced-security/javascript-sap-cap-all: ${workspace} | |
| advanced-security/javascript-sap-cap-all: "^2.25.0" |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -6,5 +6,5 @@ suites: codeql-suites | |||||
| extractor: javascript | ||||||
| dependencies: | ||||||
| codeql/javascript-all: "^2.6.24" | ||||||
| advanced-security/javascript-sap-ui5-all: "2.25.0" | ||||||
| advanced-security/javascript-sap-ui5-all: ${workspace} | ||||||
|
||||||
| advanced-security/javascript-sap-ui5-all: ${workspace} | |
| advanced-security/javascript-sap-ui5-all: "^2.25.0" |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -6,5 +6,5 @@ suites: codeql-suites | |||||
| extractor: javascript | ||||||
| dependencies: | ||||||
| codeql/javascript-all: "^2.6.24" | ||||||
| advanced-security/javascript-sap-xsjs-all: "2.25.0" | ||||||
| advanced-security/javascript-sap-xsjs-all: ${workspace} | ||||||
|
||||||
| advanced-security/javascript-sap-xsjs-all: ${workspace} | |
| advanced-security/javascript-sap-xsjs-all: "^2.25.0" |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -92,7 +92,8 @@ install_framework() { | |||||
| echo "Installing packs for: ${framework_path}" | ||||||
|
|
||||||
| # Find all qlpack.yml files under this framework and install their packs | ||||||
| find "${REPO_ROOT}/${framework_path}" -name "qlpack.yml" -type f | sort | while read -r qlpack_file; do | ||||||
| # Exclude .codeql directories which contain cached packs from previous installs | ||||||
| find "${REPO_ROOT}/${framework_path}" -name ".codeql" -prune -o -name "qlpack.yml" -type f -print | sort | while read -r qlpack_file; do | ||||||
|
||||||
| find "${REPO_ROOT}/${framework_path}" -name ".codeql" -prune -o -name "qlpack.yml" -type f -print | sort | while read -r qlpack_file; do | |
| find "${REPO_ROOT}/${framework_path}" \( -type d -name ".codeql" -prune \) -o \( -name "qlpack.yml" -type f -print \) | sort | while read -r qlpack_file; do |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -92,7 +92,8 @@ upgrade_framework() { | |||||
| echo "Upgrading packs for: ${framework_path}" | ||||||
|
|
||||||
| # Find all qlpack.yml files under this framework and upgrade their packs | ||||||
| find "${REPO_ROOT}/${framework_path}" -name "qlpack.yml" -type f | sort | while read -r qlpack_file; do | ||||||
| # Exclude .codeql directories which contain cached packs from previous installs | ||||||
| find "${REPO_ROOT}/${framework_path}" -name ".codeql" -prune -o -name "qlpack.yml" -type f -print | sort | while read -r qlpack_file; do | ||||||
|
||||||
| find "${REPO_ROOT}/${framework_path}" -name ".codeql" -prune -o -name "qlpack.yml" -type f -print | sort | while read -r qlpack_file; do | |
| find "${REPO_ROOT}/${framework_path}" \( -type d -name ".codeql" -prune \) -o \( -name "qlpack.yml" -type f -print \) | sort | while read -r qlpack_file; do |
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.
The cron
30 0 */3 * *runs on day-of-month intervals (1,4,7,...) and will not be a strict “every 3 days” cadence across month boundaries. If you need an every-72-hours cadence, GitHub Actions cron can’t express that reliably; otherwise consider wording the comment as “every 3 days (day-of-month step)”.