diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 228f0454..508f8586 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,7 @@ on: pull_request: types: [synchronize, closed] branches: - - ui-color-palette-* + - dev jobs: create-release: @@ -25,7 +25,7 @@ jobs: - name: Create release id: create_release - if: github.event.pull_request.merged == true + if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'ui-color-palette-') uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}