diff --git a/.github/workflows/publish-prerelease.yml b/.github/workflows/publish-prerelease.yml index 3400ca0f..b13b327d 100644 --- a/.github/workflows/publish-prerelease.yml +++ b/.github/workflows/publish-prerelease.yml @@ -1,10 +1,15 @@ name: Publish Pre-Release to NPM +# on: +# # When standard Pull Request is merged +# pull_request: +# branches: +# - master +# types: [ closed ] + on: - # When standard Pull Request is merged pull_request: - branches: - - master - types: [ closed ] + types: [ opened, edited, synchronize, reopened, labeled, unlabeled ] + jobs: createReleasePullRequest: if: "!contains(join(github.event.pull_request.labels.*.name, ','), 'Release') && github.event.pull_request.merged == true"