gh-action-pypi-publish
gh-action-pypi-publish copied to clipboard
Integrate reporting via GitHub APIs using octomachinery
trafficstars
The idea is to wrap twine invocation with the octomachinery framework which supports GitHub Actions out of the box.
We need to specify an event handler for Actions and after the command execution analyze the result and report this information back to GitHub using:
- Checks API (with the details of what was happening)
- Deployment API (with link to PyPI page)
Info about octomachinery:
- https://tutorial.octomachinery.dev
- https://docs.octomachinery.dev
App examples (with Actions and Checks API):
- https://github.com/github-actions-playground/enroll-me
- https://github.com/sanitizers/chronographer-github-app
- https://github.com/webknjaz/comment-reactor-pyconsk-324