-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or requestgithub_actionsPull requests that update GitHub Actions codePull requests that update GitHub Actions code
Description
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 requestNew feature or requestgithub_actionsPull requests that update GitHub Actions codePull requests that update GitHub Actions code