Skip to content

Update GitHub workflows to require API key and simplify secret inheritance - #52

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

ptr727 merged 2 commits into
developfrom
ninja

Conversation

@ptr727

@ptr727 ptr727 commented Apr 16, 2026

Copy link
Copy Markdown
Owner

Signed-off-by: Pieter Viljoen [email protected]

Copilot AI review requested due to automatic review settings April 16, 2026 17:35

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 repository’s CodeGen automation workflows to require an external API key and reduces manual secret wiring for the scheduled GitHub App workflow, alongside a README clarification for GitHub App installation.

Changes:

  • Require NINJA_API_KEY in the reusable CodeGen workflows and pass it to CodeGen.csproj via --apikey.
  • Simplify the scheduled GitHub App CodeGen workflow by switching to secrets: inherit.
  • Clarify in the README that creating a GitHub App is not sufficient; it must also be installed on the repo to avoid Not Found failures.

Reviewed changes

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

File Description
README.md Clarifies GitHub App installation requirement for codegen automation.
.github/workflows/run-periodic-codegen-app-pull-request.yml Switches scheduled app workflow to secrets: inherit when calling the reusable task.
.github/workflows/run-codegen-pull-request-task.yml Adds required NINJA_API_KEY secret and passes it to the CodeGen command.
.github/workflows/run-codegen-app-pull-request-task.yml Adds required NINJA_API_KEY secret and passes it to the CodeGen command.

Comment thread README.md Resolved
…E for additional secrets

Signed-off-by: Pieter Viljoen <[email protected]>

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

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

Comment thread README.md Resolved
@ptr727
ptr727 enabled auto-merge (squash) April 16, 2026 17:55
@ptr727
ptr727 merged commit ad9cbb8 into develop Apr 16, 2026
24 checks passed
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