feat: CI/release workflows + fix ruff lint for v0.2.0#8
Merged
Conversation
Co-authored-by: johnsirmon <11774402+johnsirmon@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Create first tagged release for packaged project v0.2.0 or v0.2.1
feat: CI/release workflows + fix ruff lint for v0.2.0
Feb 22, 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.
Sets up the release infrastructure needed to cut
v0.2.0and ensures the codebase is lint-clean so CI gates pass.Lint fixes (
forscan_tools.py)UP035:typing.Iterable→collections.abc.IterableUP042:class SafetyLevel(str, Enum)→class SafetyLevel(StrEnum)(Python 3.11+)E501(×4): wrapped safety warning string, argparse description, and epilog examples within the 100-char limitCI workflow (
.github/workflows/ci.yml)Runs
ruff check,ruff format --check, andpyteston every push/PR tomain. Job scoped topermissions: contents: read.Release workflow (
.github/workflows/release.yml)Triggers on
v*.*.*tags. Re-runs all checks as a gate, then publishes a GitHub Release viasoftprops/action-gh-release@v2with a structured body covering all CLI commands and safety notes.Cutting the release
Once merged, tag and push:
The release workflow handles the rest.
Original 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.