Skip to content

Scheduled Python publish #691

@lord-haffi

Description

@lord-haffi

Currently, the scheduled github action creates a git tag and pushes it to origin. Additionally, it does the same as the normal python-publish workflow (code is copy pasted). This is needed atm, because such a git tag is not a GitHub release. Therefore, the python-publish workflow would not be triggered.

It would be better to use the GitHub API to only create a full GitHub release. In this case GitHub would automatically trigger the existent python-publish workflow and we wouldn't need to have duplicate code in these actions.
An example of how you can create a release via the GitHub API is in the python-publish workflow where we push the new JSON-schemas.

def create_release(

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestgithub_actionsPull requests that update GitHub Actions code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions