ci: arreglar pipelines Hotfix y Security (bugs de config) - #10
Merged
Conversation
Hotfix (hotfix.yml): - Se disparaba en cada push a `main` y el job "Validate hotfix branch name" hacía exit 1 (main no es `hotfix/**`), tumbando toda la pipeline. Se quita `main` del trigger: la pipeline Hotfix solo corre en ramas `hotfix/**` (+ dispatch). El build/test/security de main ya lo cubren ci.yml/build.yml/security.yml. Security (security.yml): - Hardcoded Secrets: `goreleaser/gitleaks-action` ya no existe (fallo de resolución → job caído). Se apunta a `gitleaks/gitleaks-action@v2` (best-effort, con continue-on-error); el gate real es el grep custom, que no matchea nada. - Dependency Review: `dependency-review-action` requiere base/head ref → solo funciona en pull_request. Se limita a `if: github.event_name == 'pull_request'` (en push a main queda skipped, no failure). - CodeQL (.NET Backend): el autobuild de C# fallaba (requiere SDK .NET 10 + restore de shells NuGet). Se usa `build-mode: none` (extracción buildless), suficiente para el gate. El Security Gate solo bloquea con result==failure, no con skipped. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Cierra los checks rojos restantes de
main, todos bugs de configuración de workflow, no hallazgos de seguridad reales.Hotfix (
hotfix.yml)Se disparaba en cada push a main y "Validate hotfix branch name" hacía
exit 1(main no eshotfix/**) → toda la pipeline en rojo. Fix: quitarmaindel trigger (solohotfix/**+ dispatch). El build/test/security de main ya lo cubrenci.yml/build.yml/security.yml.Security (
security.yml)goreleaser/gitleaks-actionya no existe (fallo de resolución que tumbaba el job) →gitleaks/gitleaks-action@v2(best-effort con continue-on-error; el gate real es el grep custom, que no matchea nada ensrc/).dependency-review-actionrequiere base/head ref → solo PRs.if: github.event_name == 'pull_request'(en push a main queda skipped, no failure).build-mode: none(extracción buildless).El Security Gate solo bloquea con
result == failure(no con skipped), así que con estos fixes pasa.🤖 Generated with Claude Code