File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed
Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Semver
2+
3+ on :
4+ pull_request :
5+ types : [labeled]
6+
7+ permissions :
8+ contents : read
9+
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.ref }}
12+ cancel-in-progress : true
13+
14+ jobs :
15+ check-semver-patch :
16+ name : Check semver (patch)
17+ runs-on : ubuntu-latest
18+ if : github.event.label.name == 'B-semver-patch'
19+ steps :
20+ - uses : actions/checkout@v4
21+
22+ - name : Check semver (patch)
23+ uses : obi1kenobi/cargo-semver-checks-action@v2.1
24+ with :
25+ release-type : patch
26+
27+ check-semver-minor :
28+ name : Check semver (minor)
29+ runs-on : ubuntu-latest
30+ if : github.event.label.name == 'B-semver-minor'
31+ steps :
32+ - uses : actions/checkout@v4
33+
34+ - name : Check semver (minor)
35+ uses : obi1kenobi/cargo-semver-checks-action@v2.1
36+ with :
37+ release-type : minor
38+
39+ check-semver-major :
40+ name : Check semver (major)
41+ runs-on : ubuntu-latest
42+ if : github.event.label.name == 'B-semver-major'
43+ steps :
44+ - uses : actions/checkout@v4
45+
46+ - name : Check semver (major)
47+ uses : obi1kenobi/cargo-semver-checks-action@v2.1
48+ with :
49+ release-type : major
You can’t perform that action at this time.
0 commit comments