We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88b0ecc commit 5844700Copy full SHA for 5844700
.github/workflows/ci.yml
@@ -5,13 +5,11 @@ on:
5
branches: [main]
6
pull_request:
7
8
- issue_comment:
9
- types: [created]
10
11
jobs:
12
test:
13
# skip "ci skip" unless a issue comment explictly asks
14
- if: "!contains(github.event.head_commit.message, 'ci skip') || (github.event.issue && startsWith(github.event.issue.comment.body, '/please_release'))"
+ if: "!contains(github.event.head_commit.message, 'ci skip')"
15
16
strategy:
17
matrix:
@@ -50,8 +48,7 @@ jobs:
50
48
run: npm run test
51
49
52
- name: Release
53
- run: pnpx semantic-release --branches main
54
- if: "contains(github.event.head_commit.message, 'publish release') || github.event.issue"
+ run: pnpx -y semantic-release --branches main
55
env:
56
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments