terascope / teraslice

Scalable data processing pipelines in JavaScript
https://terascope.github.io/teraslice/
Apache License 2.0
50 stars 13 forks source link

publish-master.yml workflow runs on any closed PR #3656

Closed busma13 closed 2 months ago

busma13 commented 3 months ago

publish-master.yml runs when pull requests to the master branch are closed. It doesn't currently check if the branch closed because it was merged or because it was rejected.

We need to add the following to each job in the workflow: if: github.event.pull_request.merged == true https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-your-pull_request-workflow-when-a-pull-request-merges