Skip to content

Commit

Permalink
Ci npm publish - Rename GH secrets (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasturiano authored Apr 4, 2023
1 parent 07c1587 commit e58ff99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr-npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Git config
run: |
git config --global user.name "${{ secrets.GH_USERNAME }}"
git config --global user.email "${{ secrets.GH_EMAIL }}"
git config --global user.name "${{ secrets.GITHUB_USERNAME }}"
git config --global user.email "${{ secrets.GITHUB_EMAIL }}"
- name: Apply version bump (major)
if: contains(github.event.pull_request.labels.*.name, 'major')
run: npm version major
Expand Down

0 comments on commit e58ff99

Please sign in to comment.