Skip to content

Develop - #53

Merged
ptr727 merged 9 commits into
mainfrom
develop
Apr 16, 2026
Merged

ptr727 merged 9 commits into
mainfrom
develop

Conversation

@ptr727

@ptr727 ptr727 commented Apr 16, 2026

Copy link
Copy Markdown
Owner

No description provided.

ptr727 and others added 8 commits April 13, 2026 15:08
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]>
Copilot AI review requested due to automatic review settings April 16, 2026 18:06

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 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.push is false. Consider guarding the login step so it only runs when the secrets are present (or when inputs.push is 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 }}

Comment thread README.md Resolved
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