Repository navigation
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix(ci): apply foundation CI/CD security fixes #76
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
Uh oh!
There was an error while loading. Please reload this page.
fix(ci): apply foundation CI/CD security fixes #76
Changes from all commits
eab330ae67010e1ec31ae0d85728File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Check warning on line 38 in tests/unit/ci_configuration_test.ts
Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.
Check warning on line 44 in tests/unit/ci_configuration_test.ts
Use the "RegExp.exec()" method instead.
Check warning on line 44 in tests/unit/ci_configuration_test.ts
Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.
Check warning on line 45 in tests/unit/ci_configuration_test.ts
Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.
Check warning on line 45 in tests/unit/ci_configuration_test.ts
Use the "RegExp.exec()" method instead.
Check warning on line 46 in tests/unit/ci_configuration_test.ts
Use the "RegExp.exec()" method instead.
Check warning on line 59 in tests/unit/ci_configuration_test.ts
Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.
Check warning on line 83 in tests/unit/ci_configuration_test.ts
`String.raw` should be used to avoid escaping `\`.
Check warning on line 87 in tests/unit/ci_configuration_test.ts
`String.raw` should be used to avoid escaping `\`.
Check warning on line 107 in tests/unit/ci_configuration_test.ts
`String.raw` should be used to avoid escaping `\`.
Check warning on line 110 in tests/unit/ci_configuration_test.ts
Use the "RegExp.exec()" method instead.
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.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
Dependabot tests expect a config that
.github/dependabot.ymldoes not have.The tests expect
cargo,pip, andnixentries,mixandnpmlimits of 3, and directory/for every entry. The config has three entries:github-actionsat/with limit 2,mixat/backendwith limit 0, andnpmat/frontendwith limit 0. Both test files fail.tests/unit/ci_configuration_test.ts#L114-L162: expectgithub-actions: 2,mix: 0,npm: 0, and size3. Check each directory against its own expected value:/,/backend,/frontend. Remove thecargo,pip, andnixassertions.tests/unit/foundation_ci_config_test.ts#L90-L106: change the expected object to{ "github-actions": 2, mix: 0, npm: 0 }.📍 Affects 2 files
tests/unit/ci_configuration_test.ts#L114-L162(this comment)tests/unit/foundation_ci_config_test.ts#L90-L106🤖 Prompt for AI Agents
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.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: metadatastician/stapeln
Length of output: 2207
🏁 Script executed:
Repository: metadatastician/stapeln
Length of output: 15826
🏁 Script executed:
Repository: metadatastician/stapeln
Length of output: 2205
Align the CodeQL pins with
actions.lock..github/workflows/codeql.ymlpins both CodeQL steps tocdf488f595d80d6e07e03d4674febd5ab45fa938 # v3, but.github/workflows/actions.lockrecordsgithub/codeql-action@v4.38.0atb96794f015dfd88f77b49b1c93e0fa7110f94c63. Both lockfile tests fail.Suggested workflow fix
actions/checkout@v7.0.1already has a matching lockfile entry.📍 Affects 2 files
tests/unit/ci_configuration_test.ts#L251-L273(this comment)tests/unit/foundation_ci_config_test.ts#L147-L169🤖 Prompt for AI Agents
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.