Add automatic issue creation on lint/test workflow failures#22
Merged
Add automatic issue creation on lint/test workflow failures#22
Conversation
Co-authored-by: zaxlofful <33877007+zaxlofful@users.noreply.github.com>
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
simplewish | 7ba768e | Jan 02 2026, 11:04 PM |
Copilot
AI
changed the title
[WIP] Process TODO items from TODO.md
Add automatic issue creation on lint/test workflow failures
Jan 2, 2026
zaxlofful
approved these changes
Jan 2, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR implements automatic GitHub issue creation when lint or test workflows fail on the main branch, addressing a TODO item. The implementation follows the established pattern from check-todo.yml for consistency.
Key Changes
- Added automatic issue creation on failure with duplicate detection via label-based querying
- Modified both
lint.ymlandpytest.ymlto usecontinue-on-errorwith conditional issue creation steps - Completed and removed the corresponding TODO item from
TODO.md
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/lint.yml |
Added issues: write permission, continue-on-error handling for flake8 step, conditional issue creation on main branch failures with duplicate prevention, and final failure step to maintain workflow status |
.github/workflows/pytest.yml |
Added issues: write permission, continue-on-error handling for pytest step, conditional issue creation on main branch failures with duplicate prevention, and final failure step to maintain workflow status |
TODO.md |
Removed completed TODO item about workflow failure handling |
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.
Lint and pytest workflows now automatically create GitHub issues when failures occur on main branch pushes.
Changes
issues: writepermission andcontinue-on-errorstep handling to bothlint.ymlandpytest.ymllint-failureandtest-failurelabels if missingImplementation
Pattern follows existing
check-todo.ymlworkflow for consistency.Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.