Skip to content

Commit b5f0f8c

Browse files
committed
f
1 parent 75a5c81 commit b5f0f8c

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/consistency.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,21 @@ name: OpenVM Repo Consistency Check
22

33
on:
44
push:
5-
pull_request:
65
workflow_dispatch:
76
inputs:
87
version:
98
description: "Version to check"
10-
required: false
11-
default: "v1.1.1"
9+
required: true
1210

13-
concurrency:
14-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
15-
cancel-in-progress: true
11+
release:
12+
types: [published]
1613

1714
env:
18-
VERSION: ${{ github.event.inputs.version }}
15+
VERSION: ${{ github.event.inputs.version || github.event.release.tag_name || (github.event_name == 'push' && 'v1.1.1') || ''}}
16+
17+
concurrency:
18+
group: ${{ github.workflow }}-${{ github.event.inputs.version || github.event.release.tag_name || (github.event_name == 'push' && 'v1.1.1') || ''}}
19+
cancel-in-progress: true
1920

2021
jobs:
2122
consistency-check:

0 commit comments

Comments
 (0)