Skip to content

ci: run Docker smoke tests on related PRs - #117

Merged
luojiyin1987 merged 2 commits into
masterfrom
agent/docker-smoke-on-pr
Aug 9, 2026
Merged

luojiyin1987 merged 2 commits into
masterfrom
agent/docker-smoke-on-pr

Conversation

@luojiyin1987

Copy link
Copy Markdown
Contributor

Summary

  • Run Docker smoke checks on related pull requests.
  • Limit triggers to Dockerfile, package metadata, and this workflow.
  • Keep manual workflow dispatch available.
  • Remove the example-directory lint step.

Reason

PR #116 fixed a Docker build regression that normal CI did not detect.

The existing workflow only supported manual runs.

The examples directory contains intentional lint failures.

Running that directory would fail a required PR check.

Impact

Unrelated pull requests do not run Docker builds.

Relevant pull requests verify the image build and stdin CLI path.

Validation

  • npx prettier --check .github/workflows/docker.yml
  • docker build -t lint-md-test .
  • echo "# Hello" | docker run -i lint-md-test --stdin
  • npm run lint
  • git diff --check

Follow-up to #116

@luojiyin1987
luojiyin1987 marked this pull request as ready for review August 9, 2026 10:44
@luojiyin1987
luojiyin1987 merged commit 5066b6f into master Aug 9, 2026
7 checks passed
@luojiyin1987
luojiyin1987 deleted the agent/docker-smoke-on-pr branch August 9, 2026 10:50
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