File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Version Check
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+ paths :
8+ - bin/**/*
9+ - src/**/*
10+ - .node-version
11+ - package-lock.json
12+ - package.json
13+ - tsconfig.base.json
14+ - tsconfig.eslint.json
15+ - tsconfig.json
16+
17+ permissions :
18+ checks : write
19+ contents : read
20+ pull-requests : write
21+
22+ jobs :
23+ check-version :
24+ name : Version Check
25+ runs-on : ubuntu-latest
26+
27+ if : ${{ startsWith(github.head_ref, 'dependabot/') == false }}
28+
29+ steps :
30+ - name : Checkout
31+ id : checkout
32+ uses : actions/checkout@v4
33+ with :
34+ fetch-tags : true
35+ fetch-depth : 0
36+
37+ - name : Check Version
38+ id : check-version
39+ uses : issue-ops/semver@v2
40+ with :
41+ check-only : true
42+ comment : true
43+ manifest-path : package.json
44+ workspace : ${{ github.workspace }}
You can’t perform that action at this time.
0 commit comments