Skip to content

Commit 38a44b1

Browse files
Merge pull request #68 from WarehouseFinds/fix/release_notes_polish
Create release on workflow dispatch only
2 parents 08979b6 + 252afce commit 38a44b1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ jobs:
8181
build:
8282
name: Build
8383
needs: [setup, unit-tests, static-code-analysis, code-injection, semantic-code-analysis]
84+
if: always() && !cancelled()
8485
uses: ./.github/workflows/powershell-build-module.yml
8586
permissions:
8687
contents: write

.github/workflows/powershell-build-module.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
- name: Generate release notes
122122
shell: pwsh
123123
id: generate_release_notes
124-
if: github.ref_name == 'main' && (github.event_name == 'workflow_dispatch' || github.event_name == 'push')
124+
if: github.ref_name == 'main' && github.event_name == 'workflow_dispatch'
125125
env:
126126
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
127127
run: |
@@ -156,7 +156,7 @@ jobs:
156156
- name: Create Release
157157
id: create_release
158158
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e #v1.1.4
159-
if: github.ref_name == 'main' && (github.event_name == 'workflow_dispatch' || github.event_name == 'push')
159+
if: github.ref_name == 'main' && github.event_name == 'workflow_dispatch'
160160
env:
161161
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
162162
with:

0 commit comments

Comments
 (0)