Repository navigation
Conversation
Improve security and prevent abuse in merge-bot workflows. Introduce a new workflow for running the codegen app and creating pull requests, along with a periodic workflow for weekly execution. Update documentation to include Git and commit rules for AI coding agents. Adjust date in the CodeGen class for accurate quote generation. --------- Signed-off-by: Pieter Viljoen <[email protected]>
- Introduced Directory.Build.props and Directory.Packages.props for shared MSBuild properties and centralized NuGet package versions. - Updated various project files to remove specific properties and use centralized versions. - Enhanced GitHub workflows for code generation and pull requests. - Refactored launch configurations and tasks for better organization. Signed-off-by: Pieter Viljoen <[email protected]> Signed-off-by: Pieter Viljoen <[email protected]>
Signed-off-by: Pieter Viljoen <[email protected]> --------- Signed-off-by: Pieter Viljoen <[email protected]>
) Signed-off-by: Pieter Viljoen <[email protected]> --------- Signed-off-by: Pieter Viljoen <[email protected]> Co-authored-by: Copilot <[email protected]>
Improve GitHub workflows for code generation and auto-merging, enhance security in merge-bot processes, and centralize project configuration with shared MSBuild properties and NuGet package versions. Update documentation to reflect these changes and ensure accurate quote generation in the CodeGen class. --------- Signed-off-by: Pieter Viljoen <[email protected]> Co-authored-by: Copilot <[email protected]>
…tance (#52) Signed-off-by: Pieter Viljoen <[email protected]> --------- Signed-off-by: Pieter Viljoen <[email protected]>
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. --------- Signed-off-by: Pieter Viljoen <[email protected]>
# Conflicts: # CodeGen/CodeGen.cs
ptr727
enabled auto-merge (squash)
April 16, 2026 19:46
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the template’s developer tooling and automation around CodeGen and Docker builds, including wiring an API key into codegen workflows and improving related documentation/config.
Changes:
- Require and pass
NINJA_API_KEYinto both PAT-based and GitHub App-based codegen reusable workflows. - Update VS Code launch config and workspace settings; update Docker build docs and ignore
.artifacts/. - Fix Docker build workflow arg mapping for
BUILD_ASSEMBLY_VERSION.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Clarifies GitHub App installation requirements and notes additional secrets for codegen workflows. |
| ProjectTemplate.code-workspace | Removes a couple of workspace settings. |
| Docker/Dockerfile | Updates commented build instructions to reference the correct Dockerfile and adds a log example. |
| CodeGen/CodeGen.cs | Updates generated “quote of the day” content and timestamp. |
| .vscode/launch.json | Adjusts launch paths and adds --apikey argument for CodeGen. |
| .github/workflows/run-periodic-codegen-app-pull-request.yml | Switches reusable-workflow secret passing to inherit. |
| .github/workflows/run-codegen-pull-request-task.yml | Adds required NINJA_API_KEY secret and passes it to CodeGen. |
| .github/workflows/run-codegen-app-pull-request-task.yml | Adds required NINJA_API_KEY secret and passes it to CodeGen. |
| .github/workflows/build-docker-task.yml | Logs into Docker Hub for rate limits and fixes assembly version build-arg wiring. |
| .dockerignore | Ignores .artifacts/ directories. |
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.
No description provided.