Conversation
Co-authored-by: zaxlofful <33877007+zaxlofful@users.noreply.github.com>
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
simplewish | 8bdc22f | Jan 31 2026, 05:27 PM |
Copilot
AI
changed the title
[WIP] Create issues for failed automated tests and Docker image creation
Add automated issue creation for Docker build and security scan failures
Jan 31, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR extends the CI image build workflow so that failures in Docker builds and Trivy security scans on main automatically open GitHub issues, aligning it with the existing pytest and lint workflows.
Changes:
- Grants the CI image build job
issues: writepermission and introducescontinue-on-error: truefor Trivy and Docker build steps so the workflow can proceed to issue-creation logic while still recording step outcomes. - Adds conditional issue creation for Docker build failures with a
docker-build-failurelabel, including label auto-creation, deduplication by label, and diagnostic/repro details. - Adds conditional issue creation for Trivy scan failures with a
security-scan-failurelabel, similarly handling label creation, deduplication, and including workflow/commit context plus local reproduction commands, and adds a final step to fail the workflow if any monitored step failed.
zaxlofful
approved these changes
Feb 2, 2026
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.
CI failures on main now create GitHub issues automatically. Test and lint workflows already had this; Docker image builds did not.
Changes
Modified
.github/workflows/build-ci-image.yml:continue-on-error: trueto critical steps (Trivy scans, Docker builds)docker-build-failurelabel)security-scan-failurelabel)mainPattern
Follows existing pattern from
pytest.ymlandlint.yml:Labels
docker-build-failuresecurity-scan-failureOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.