feat(ci): add Test PyPI release workflow for splunk-ao-a2a#57
Open
adityamehra wants to merge 3 commits into
Open
feat(ci): add Test PyPI release workflow for splunk-ao-a2a#57adityamehra wants to merge 3 commits into
adityamehra wants to merge 3 commits into
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
Reject bump keywords (patch, major, etc.) and malformed inputs with a clear error before any file is modified, matching the pattern added to the splunk-ao and splunk-ao-adk release workflows Co-authored-by: Cursor <cursoragent@cursor.com>
Member
Author
|
Applied the same changesets from PR #48 to this workflow: Version input validation — Added a |
- Fix regex to correctly accept rc, .dev, and .post PEP 440 forms - Add permissions: contents: read to the test and build jobs Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
Adds
.github/workflows/release-splunk-ao-a2a-test.yaml— a pipeline that builds and publishes thesplunk-ao-a2apackage to Test PyPI.How it works
0.1.0.dev<run_number>to Test PyPI (clean version stays reserved)workflow_dispatchwith version: runs tests → publishes the exact version suppliedworkflow_dispatchwithout version: runs tests → publishes whatever is inpyproject.tomlJob chain
test→build→publish(each step gates the next)Notes
ci-tests-splunk-ao-a2a.yamlpattern)release-splunk-ao-a2a-test.yaml, environment:testpypi)python -m build(hatchling backend)Made with Cursor