We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c42229 commit 0a0f6a3Copy full SHA for 0a0f6a3
1 file changed
.github/workflows/build.yml
@@ -38,14 +38,15 @@ jobs:
38
create-release:
39
needs: build
40
name: semantic-release
41
- if: "github.ref_name == 'master' && github.event_name != 'pull_request'"
+ if: github.ref_name == 'master' && github.event_name != 'pull_request'
42
runs-on: ubuntu-latest
43
44
steps:
45
- name: Checkout repository
46
uses: actions/checkout@v4
47
with:
48
- persist-credentials: false
+ fetch-depth: 0
49
+ token: ${{ secrets.GH_TOKEN }}
50
51
- name: Setup Node.js
52
uses: actions/setup-node@v4
@@ -65,4 +66,5 @@ jobs:
65
66
- name: Run semantic-release
67
env:
68
GH_TOKEN: ${{ secrets.GH_TOKEN }}
69
+ GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
70
run: npm run semantic-release
0 commit comments