botpress / studio

The studio is the main interface you'll use to build and edit your chatbot.
https://botpress.com/docs/quickstart#conversation-studio
39 stars 38 forks source link

chore(dx): run prerelease task only when pr is ready for review #220

Closed franklevasseur closed 2 years ago

franklevasseur commented 2 years ago

Alright, this is my take on improving the prerelease GH task.

If you toggle between "draft" and "ready for review" you'll see that the action gets canceled and started accordingly.

Also, you'll notice that ${GITHUB_HEAD_REF} outputs the correct branch name instead of something like refs_pull_120_merge.

franklevasseur commented 2 years ago

this works

franklevasseur commented 2 years ago

I merge: