Skip to content

Seed new CLIs with the GitHub Actions audit job - #76

Open
jeremy wants to merge 3 commits into
mainfrom
seed-lint-actions
Open

Seed new CLIs with the GitHub Actions audit job#76
jeremy wants to merge 3 commits into
mainfrom
seed-lint-actions

Conversation

@jeremy

@jeremy jeremy commented Sep 10, 2026

Copy link
Copy Markdown
Member

The seed's test.yml had no lint-actions job, while every CLI seeded from it (basecamp-cli, hey-cli, fizzy-cli) and this repo's own test.yml run actionlint and zizmor on every push. A newly seeded CLI would start without the audit and gain it only if someone noticed.

This adds the same job to the seed, on zizmor-action 0.6.3 (zizmor 1.30), and a seed/.github/actionlint.yaml scoped to the $/.github/workflows/security.yml call the seed's release workflow makes after #74. Before #74 lands the config is inert; after it, it is what lets actionlint 1.7.12 pass.

Verified from the seed root, the way a seeded repo runs it (cd seed && actionlint): exit 0. Running actionlint from this repo's root against seed/.github/workflows/*.yml is not a valid check, since it resolves the seed's ./.github/workflows/security.yml call against this repo's own file and reports a secret mismatch that does not exist in the seed. zizmor 1.30.0 over the seed reports only the ./ call that #74 rewrites.

Independent of #74 in content; stacks cleanly either way.

The seed's test workflow had no lint-actions job while every CLI seeded from
it (basecamp-cli, hey-cli, fizzy-cli) and this repo's own test workflow run
actionlint and zizmor on every push. A new CLI now starts with the same job,
on zizmor-action 0.6.3, and with the actionlint config that lets 1.7.12 pass
the `$/` reusable-workflow call the seed's release workflow makes (#74).
Copilot AI balanced review requested due to automatic review settings September 10, 2026 18:20
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 10, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-10T18:24:22.203148Z e20b0f9 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The seed prompt’s copy map omits the new actionlint configuration, so generated CLIs will not receive it.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds GitHub Actions auditing to newly seeded CLIs.

Changes:

  • Adds actionlint and zizmor audit steps.
  • Adds actionlint suppression for the future $/ workflow reference.

[!TIP]
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

File summaries
File Description
seed/.github/workflows/test.yml Adds the Actions audit job.
seed/.github/actionlint.yaml Configures actionlint for $/ references.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread seed/.github/actionlint.yaml

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e20b0f903d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread seed/.github/actionlint.yaml
A CLI bootstrapped from prompts/seed-cli.md copies the seed's .github tree
file by file from the map in step 4. The map did not name
seed/.github/actionlint.yaml, so a new CLI would get the lint-actions job
without the config that lets actionlint 1.7.12 pass the $/ reusable-workflow
call.
seed/.github/workflows/scorecard.yml has been in the seed without an entry
in the step-4 copy map, so a CLI bootstrapped from the prompt never got it.
@jeremy

jeremy commented Sep 10, 2026

Copy link
Copy Markdown
Member Author

Fixed — the seed prompt's copy map now carries seed/.github/actionlint.yaml.github/actionlint.yaml (prompts/seed-cli.md), next to the test workflow whose lint-actions job reads it, so a seeded CLI receives the config with the job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants