Skip to content

Commit

Permalink
chore: use "GH_TOKEN" variable for semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito committed May 17, 2022
1 parent 05ddaac commit 16fe0a2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Expand Up @@ -36,5 +36,6 @@ jobs:
env:
GIT_COMMITTER_NAME: kettanaito
GIT_COMMITTER_EMAIL: kettanaito@gmail.com
GITHUB_TOKEN: ${{ secrets.GH_ADMIN_TOKEN }}
GH_TOKE: ${{ secrets.GH_ADMIN_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
8 changes: 7 additions & 1 deletion release.config.js
Expand Up @@ -5,7 +5,13 @@ module.exports = {
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
'@semantic-release/npm',
[
'@semantic-release/git',
{
message:
'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
},
],
'@semantic-release/github',
'@semantic-release/git',
],
}

0 comments on commit 16fe0a2

Please sign in to comment.