feat(action): preflight CI gate with annotations, summary, and outputs#101
Merged
Conversation
Add a launched note to the docs home, the guide Status section, and the devlog intro, each linking the launch announcement.
- socket.yml: configure the Socket GitHub app (manifest-only triggers, ignore build output, pin high-signal alerts). - socket-security.yml: a `socket ci` policy gate plus a Socket Firewall job that routes installs through `sfw` to block known-malware versions at fetch time. - SECURITY.md: supported versions and private vulnerability reporting.
…d structured outputs The GitHub Action (uses: yasserstudio/gmc@v1) now runs preflight with: - Inline error/warning annotations on PR diffs, pinned to source feed files - A job-summary table of all findings in the Actions run summary tab - Structured outputs (ok, scanned, errors, warnings, report) for downstream steps Security hardening from review: - Annotation messages escaped for workflow-command injection (%/\n/\r/:/,) - Heredoc delimiter uses randomUUID() to prevent delimiter collision - Non-preflight path uses bash arrays + set -f (prevents shell/glob injection)
…-socket-security # Conflicts: # SECURITY.md
| "|----------|------|---------|---------|", | ||
| ); | ||
| for (const f of report.findings) { | ||
| const esc = (s) => s.replace(/\|/g, "\\|"); |
| import { fileURLToPath } from "node:url"; | ||
| import { dirname } from "node:path"; | ||
| import { strict as assert } from "node:assert"; | ||
| import { describe, it, before, after } from "node:test"; |
Resolves CodeQL js/insecure-temporary-file alert.
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.
Summary
uses: yasserstudio/gmc@v1) — when runningpreflight, the action now emits inline PR annotations pinned to source feed files, writes a job-summary findings table, and sets structured outputs (ok,scanned,errors,warnings,report)set -fto prevent shell/glob injectionTest plan