Skip to content

Commit

Permalink
Set GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
narin committed Nov 22, 2023
1 parent 3cf2ca6 commit 51d3307
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
with:
registry-url: https://registry.npmjs.org/
node-version-file: '.nvmrc'
token: ${{ secrets.VA_MOBILE_ROBOT_GITHUB_PAT }}
- run: yarn install
- name: Bump version and publish to NPM
id: bump-version
Expand Down Expand Up @@ -76,6 +75,8 @@ jobs:
echo "NEW_VERSION=$NEW_VERSION" >> "$GITHUB_OUTPUT"
echo "GIT_TAG=${{ inputs.package }}-v$NEW_VERSION" >> "$GITHUB_OUTPUT"
- name: Commit package.json changes and tag
env:
GITHUB_TOKEN: ${{ secrets.VA_MOBILE_ROBOT_GITHUB_PAT }}
run: |
git config --global user.name 'VA Automation Bot'
git config --global user.email '[email protected]'
Expand Down

0 comments on commit 51d3307

Please sign in to comment.