Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added release trigger type for CI #7

Merged
merged 1 commit into from
Jun 23, 2024
Merged

Added release trigger type for CI #7

merged 1 commit into from
Jun 23, 2024

Conversation

cjaverliat
Copy link
Contributor

The release trigger can be invoked on different occasions: when created, deleted, edited, published, etc (cf. https://docs.github.com/en/webhooks/webhook-events-and-payloads?actionType=released#release). This results in the creation of multiple workflow runs:
image

The following change ensures that the release action (i.e. publishing on PyPi) is only triggered when "A release was published, or a pre-release was changed to a release." as per the documentation.

@cjaverliat cjaverliat requested a review from imenelydiaker June 23, 2024 15:26
@cjaverliat cjaverliat merged commit 029680e into master Jun 23, 2024
3 checks passed
@cjaverliat cjaverliat deleted the update-ci branch June 23, 2024 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants