Skip to content

Commit 99976b5

Browse files
committed
fix
1 parent ce86d1d commit 99976b5

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ on:
77
push:
88
branches:
99
- main
10+
workflow_dispatch:
11+
inputs:
12+
run-verify:
13+
type: boolean
14+
description: 'Run verification after release'
15+
required: false
16+
default: false
1017

1118
concurrency: ${{ github.workflow }}-${{ github.ref }}
1219

@@ -32,7 +39,7 @@ jobs:
3239

3340
verify:
3441
needs: release
35-
if: ${{ needs.release.outputs.pullRequestNumber != '' }}
42+
if: ${{ inputs.run-verify && needs.release.outputs.pullRequestNumber != '' }}
3643
uses: ./.github/workflows/verify.yml
3744
secrets: inherit
3845
with:

.github/workflows/verify.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'Verify'
1+
name: Verify
22
on:
33
workflow_call:
44
inputs:
@@ -44,7 +44,7 @@ jobs:
4444

4545
steps:
4646
- uses: actions/checkout@v4
47-
47+
4848
- name: Setup Repository
4949
uses: ./.github/actions/setup
5050

@@ -64,6 +64,3 @@ jobs:
6464
if: ${{ inputs.run-acceptance }}
6565
shell: bash
6666
run: pnpm spec
67-
68-
69-

0 commit comments

Comments
 (0)