We have moved to https://codeberg.org/KOLANICH-libs/miniGHAPI.py, grab new versions there.
Under the disguise of "better security" Micro$oft-owned GitHub has discriminated users of 1FA passwords while having commercial interest in success and wide adoption of FIDO 1FA specifications and Windows Hello implementation which it promotes as a replacement for passwords. It will result in dire consequencies and is competely inacceptable, read why.
If you don't want to participate in harming yourself, it is recommended to follow the lead and migrate somewhere away of GitHub and Micro$oft. Here is the list of alternatives and rationales to do it. If they delete the discussion, there are certain well-known places where you can get a copy of it. Read why you should also leave GitHub.
A small library for interacting with GitHub intended to be used in GitHub Actions implemented in python.
Most of the actions must be authenticated. You need different tokens depending on your use case:
env["INPUT"]["GITHUB_TOKEN"]
to work with issues or send annotationsenv["ACTIONS"]["RUNTIME_TOKEN"]
to work with undocumented API, such as creating artifacts, working with cache or sending SARIF analytics
Actions retrieving collections populate properties. Use get*
methods to fetch them and populate.
The lib also contains some bindings to undocumented API, allowing you to upload files for workflows.