Skip to content

Commit

Permalink
fix: use bot's name/email for pushing release commits
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Zuev committed Dec 24, 2021
1 parent 76cf6e7 commit 3b2553a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,17 @@ on:
- beta
jobs:
release:
if: github.actor != 'yandex-cloud-bot'
name: Release
runs-on: ubuntu-20.04
steps:
- uses: yandex-cloud/nodejs-sdk/.github/actions/checkout-and-install-node@4a0dbbde6b45cce08566abb9accace703f2a7a5d
- run: npm ci
- env:
GITHUB_TOKEN: ${{ secrets.YANDEX_CLOUD_BOT_TOKEN }}
GIT_AUTHOR_NAME: yandex-cloud-bot
GIT_AUTHOR_EMAIL: ycloud-bot@yandex.ru
GIT_COMMITTER_NAME: yandex-cloud-bot
GIT_COMMITTER_EMAIL: ycloud-bot@yandex.ru
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release

0 comments on commit 3b2553a

Please sign in to comment.