Skip to content

Add PR build workflow#3

Merged
ncipollina merged 2 commits into
mainfrom
add-pr-build-workflow
Jul 17, 2026
Merged

Add PR build workflow#3
ncipollina merged 2 commits into
mainfrom
add-pr-build-workflow

Conversation

@ncipollina

Copy link
Copy Markdown
Contributor

Summary

  • Adds .github/workflows/pr-build.yaml, a thin caller into LayeredCraft/devops-templates's reusable pr-build.yaml@v10.1 (same pattern as other LayeredCraft repos, e.g. trivia-manager).
  • Restores/builds/runs the full test suite (SharpMud.slnx) on every PR against main, plus workflow_dispatch for a manual run.
  • useMtpRunner: true to match this repo's xUnit v3 + Microsoft Testing Platform setup.
  • runCdk: false — this repo deploys as a plain Docker image (see docs/deployment.md), not AWS CDK/Lambda, so the reusable workflow's CDK/Lambda-function inputs and secrets are unused/omitted entirely.
  • docs/deployment.md: new "Continuous Integration" section, and closes the "CI-driven build/test" half of the existing Open Item (image build/publish is still manual and still open).

Treated as adopting an existing org-wide tooling convention rather than a from-scratch architecture decision, so no ADR — flagging that judgment call here in case it should have one.

Test plan

  • YAML validated
  • First real PR build run against this PR itself is the actual verification

🤖 Generated with Claude Code

Restores/builds/tests SharpMud.slnx on every PR against main, using
this repo's xUnit v3 + Microsoft Testing Platform setup
(useMtpRunner: true). runCdk: false since this repo deploys as a
plain Docker image (see deployment.md), not AWS CDK/Lambda - the
reusable workflow's CDK/Lambda inputs and secrets are simply unused.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e94d6b3293

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/pr-build.yaml
…sions

The reusable pr-build.yaml declares id-token/contents/pull-requests
write at the workflow level; GitHub validates a caller's granted
permissions against that before any job starts, so trimming this
down to contents: read (since runCdk: false means those scopes go
unused at runtime) caused a zero-job startup_failure - the check
happens at dispatch time regardless of which code paths actually run.
Matching trivia-manager's known-working permissions block instead.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ncipollina
ncipollina merged commit 68f1a06 into main Jul 17, 2026
1 check passed
@ncipollina
ncipollina deleted the add-pr-build-workflow branch July 17, 2026 15:44
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.

1 participant