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]>
ptr727
enabled auto-merge (squash)
April 16, 2026 18:07
Contributor
There was a problem hiding this comment.
Pull request overview
Updates repository documentation and CI workflows to improve CodeGen setup/usage and refine Docker build behavior.
Changes:
- Expanded README guidance for GitHub App installation and additional workflow secrets.
- Updated CodeGen reusable workflows to pass an API key into the CodeGen CLI.
- Tweaked Docker build workflow and local Docker build/docs configuration (Dockerfile comments,
.dockerignore, workspace settings).
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Clarifies GitHub App installation and notes additional secrets for codegen workflows. |
| ProjectTemplate.code-workspace | Removes a couple of workspace-specific settings. |
| Docker/Dockerfile | Updates commented build/test commands and adds a logged build example. |
| .github/workflows/run-periodic-codegen-app-pull-request.yml | Switches to secrets: inherit for the scheduled app-based codegen workflow. |
| .github/workflows/run-codegen-pull-request-task.yml | Adds NINJA_API_KEY secret and passes --apikey to CodeGen CLI. |
| .github/workflows/run-codegen-app-pull-request-task.yml | Adds NINJA_API_KEY secret and passes --apikey to CodeGen CLI for app-auth path. |
| .github/workflows/build-docker-task.yml | Always logs into Docker Hub; fixes BUILD_ASSEMBLY_VERSION arg to use AssemblyVersion. |
| .dockerignore | Ignores .artifacts/ directories in Docker build context. |
Comments suppressed due to low confidence (1)
.github/workflows/build-docker-task.yml:46
- The Docker Hub login step now runs unconditionally. This will fail in contexts where Docker Hub secrets are unavailable (e.g., pull_request workflows from forks, or any caller that doesn’t provide DOCKER_HUB_USERNAME/DOCKER_HUB_ACCESS_TOKEN), causing the entire Docker build to fail even when
inputs.pushis false. Consider guarding the login step so it only runs when the secrets are present (or wheninputs.pushis true), and keep unauthenticated builds working otherwise.
# Always login to Docker Hub, not just on push, to benefit from
# higher rate limits with a Docker subscription for pulls and cache
- name: Login to Docker Hub step
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
This was referenced Oct 2, 2026
Closed
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.