Skip to content

Commit

Permalink
ci: use GITHUB_ACTOR for version bumping (#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-bodnar authored Jan 4, 2024
1 parent 038ba35 commit 0627d31
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,14 @@ jobs:
- name: Install dependencies
run: npm install

- name: git config
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: Bump version
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npx semantic-release
npx semantic-release --version

0 comments on commit 0627d31

Please sign in to comment.