Skip to content

Update GitHub workflows and API key handling - #54

Merged
ptr727 merged 4 commits into
developfrom
ninja
Apr 16, 2026
Merged

ptr727 merged 4 commits into
developfrom
ninja

Conversation

@ptr727

@ptr727 ptr727 commented Apr 16, 2026

Copy link
Copy Markdown
Owner

Enhance GitHub workflows by requiring an API key and simplifying secret inheritance. Fix formatting for the API key reference in the codegen workflow and update the README to include instructions for additional secrets. Modify launch configurations and update the QuoteOfTheDay in CodeGen.

Copilot AI review requested due to automatic review settings April 16, 2026 19:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the template’s codegen automation to require a third-party API key, streamlines secret passing to reusable workflows, and refreshes local/dev and generated artifacts to reflect the new API key wiring.

Changes:

  • Require NINJA_API_KEY in reusable codegen workflows and pass it to CodeGen via --apikey.
  • Simplify the app-based periodic workflow by switching to secrets: inherit.
  • Update local VS Code launch config to pass --apikey, and refresh generated CodeGen output + README guidance.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
README.md Expands GitHub App installation guidance and mentions adding extra secrets for codegen workflows.
CodeGen/CodeGen.cs Updates generated “QuoteOfTheDay” content and timestamp.
.vscode/launch.json Reformats launch configs and adds --apikey argument for CodeGen debugging.
.github/workflows/run-periodic-codegen-app-pull-request.yml Switches reusable workflow secret passing to secrets: inherit.
.github/workflows/run-codegen-pull-request-task.yml Adds required NINJA_API_KEY and passes it to CodeGen.
.github/workflows/run-codegen-app-pull-request-task.yml Adds required NINJA_API_KEY and passes it to CodeGen.

Comment thread .vscode/launch.json Resolved
Comment thread .vscode/launch.json Resolved
Comment thread .vscode/launch.json Resolved
Comment thread .vscode/launch.json Resolved
@ptr727
ptr727 merged commit aff12c1 into develop Apr 16, 2026
20 checks passed
@ptr727
ptr727 deleted the ninja branch May 11, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants