Skip to content

Commit

Permalink
ci: configure git user for bot commits
Browse files Browse the repository at this point in the history
  • Loading branch information
pboeder committed Nov 7, 2024
1 parent f774f03 commit 7e794a5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,13 @@ jobs:
- name: Set up GitHub Packages auth
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc

- name: Configure Git user
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Bump Version
run: npm version ${{ github.event.inputs.version }}
run: npm version ${{ github.event.inputs.version }} ${{ github.event.inputs.version }}

- name: Publish to GitHub Packages
run: npm publish --registry=https://npm.pkg.github.com
Expand Down

0 comments on commit 7e794a5

Please sign in to comment.