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

Run publish action on publish and not create #210

Merged
merged 1 commit into from
Dec 22, 2023
Merged

Conversation

jacobsteves
Copy link
Member

@jacobsteves jacobsteves commented Dec 22, 2023

Closes https://github.com/Shopify/script-service/issues/7297

https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release

Note: Workflows are not triggered for the created, edited, or deleted activity types for draft releases. When you create your release through the GitHub browser UI, your release may automatically be saved as a draft.

We ran into a problem where the workflow was not triggered when creating a release from a draft. This would have been solved by triggering the action on publish instead of create.

Javy does the same thing.

@jacobsteves jacobsteves merged commit 34ad50e into main Dec 22, 2023
5 checks passed
@jacobsteves jacobsteves deleted the jacobsteves-patch-1 branch December 22, 2023 19:52
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