diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 9d53b8d..86db49e 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -1,7 +1,11 @@ name: 'dotnet build' on: - workflow_dispatch: + push: + branches: + - '**' + pull_request: + types: [ closed ] env: PRERELEASE_BRANCHES: experimental,alpha,beta,rc @@ -97,4 +101,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - gh release create ${{ steps.tag.outputs.new_tag }} --target=${{ github.sha }} --title="${{ inputs.component && format('{0} - ',inputs.component) || '' }}v${{ steps.tag.outputs.new_version }}" --notes="${{ steps.tag.outputs.changelog }}" \ No newline at end of file + gh release create ${{ steps.tag.outputs.new_tag }} --target=${{ github.sha }} --title="${{ inputs.component && format('{0} - ',inputs.component) || '' }}v${{ steps.tag.outputs.new_version }}" --notes="${{ steps.tag.outputs.changelog }}"