ci: fix unresolvable setup-beam pins in canonical hypatia-scan.yml (Refs standards#64)#70
Merged
Merged
Conversation
…efs standards#64) elixir 1.19.4 / otp 28.3 are not in the setup-beam index; every generated repo inherited a permanently-red dogfooding job. Loosen to resolvable elixir 1.18 / otp 27. Refs hyperpolymath/standards#64 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
🔍 Hypatia Security ScanFindings: 13 issues detected
View findings[
{
"reason": "Download-and-execute pattern (curl|wget pipe to shell) -- verify integrity before execution (3 occurrences, CWE-494)",
"type": "shell_download_then_run",
"file": "/home/runner/work/v3-templater/v3-templater/setup.sh",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
},
{
"reason": "Js.Dict deprecated -- use Dict (1 occurrences)",
"type": "deprecated_api",
"file": "/home/runner/work/v3-templater/v3-templater/src/utils/Escape.res",
"action": "module_replace",
"rule_module": "migration_rules",
"severity": "high"
},
{
"reason": "Js.Json deprecated -- use JSON (1 occurrences)",
"type": "deprecated_api",
"file": "/home/runner/work/v3-templater/v3-templater/src/utils/Escape.res",
"action": "module_replace",
"rule_module": "migration_rules",
"severity": "medium"
},
{
"reason": "Js.Dict deprecated -- use Dict (1 occurrences)",
"type": "deprecated_api",
"file": "/home/runner/work/v3-templater/v3-templater/src/Compiler.res",
"action": "module_replace",
"rule_module": "migration_rules",
"severity": "high"
},
{
"reason": "Js.Json deprecated -- use JSON (2 occurrences)",
"type": "deprecated_api",
"file": "/home/runner/work/v3-templater/v3-templater/src/Compiler.res",
"action": "module_replace",
"rule_module": "migration_rules",
"severity": "medium"
},
{
"reason": "Js.Dict deprecated -- use Dict (1 occurrences)",
"type": "deprecated_api",
"file": "/home/runner/work/v3-templater/v3-templater/src/Runtime.res",
"action": "module_replace",
"rule_module": "migration_rules",
"severity": "high"
},
{
"reason": "Js.Json deprecated -- use JSON (6 occurrences)",
"type": "deprecated_api",
"file": "/home/runner/work/v3-templater/v3-templater/src/Runtime.res",
"action": "module_replace",
"rule_module": "migration_rules",
"severity": "medium"
},
{
"reason": "Js.Dict deprecated -- use Dict (12 occurrences)",
"type": "deprecated_api",
"file": "/home/runner/work/v3-templater/v3-templater/src/Cache.res",
"action": "module_replace",
"rule_module": "migration_rules",
"severity": "high"
},
{
"reason": "Nominal-only SAST in v3-templater: codeql.yml language matrix contains no language present in the repo and lacks `actions`, so CodeQL records zero results on every commit. Remediation: set the CodeQL matrix to `language: actions`.",
"type": "StaticAnalysis",
"file": "/home/runner/work/v3-templater/v3-templater",
"action": "auto_fix",
"rule_module": "scorecard",
"severity": "medium",
"remediation": "Add CodeQL or equivalent SAST workflow.",
"scorecard_check": "SAST"
},
{
"reason": "Repository has 2 non-main remote branch(es). Policy: single main branch only.",
"type": "GS007",
"file": ".",
"action": "delete_remote_branches",
"rule_module": "git_state",
"severity": "medium"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Generator-source fix for hyperpolymath/standards#64.
elixir 1.19.4 / otp 28.3are not in the setup-beam index, so every repo generated from this template inherited a permanently-red Hypatia dogfooding job. Loosened to resolvableelixir 1.18 / otp 27.Refs hyperpolymath/standards#64
🤖 Generated with Claude Code