Skip to content

Commit

Permalink
Merge pull request #784 from oclif/ew/update-github-workflows
Browse files Browse the repository at this point in the history
Update gitConfig
  • Loading branch information
iowillhoit authored Feb 12, 2024
2 parents 2ed147e + e784b1e commit bc3fe68
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/update-npm-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@ jobs:
echo "package.json npm version: $(jq -r '.dependencies.npm' package.json)"
echo "GHA Node LTS npm version: $(npm -v)"
yarn add npm@$(npm -v)
- uses: salesforcecli/github-workflows/.github/actions/getGithubUserInfo@main
id: github-user-info
with:
token: ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }}
- uses: salesforcecli/github-workflows/.github/actions/gitConfig@main
with:
username: ${{ steps.github-user-info.outputs.username }}
email: ${{ steps.github-user-info.outputs.email }}
# Push changes if 'git status' is not empty
- run: |
if [[ -n $(git status --short) ]]; then
Expand Down

0 comments on commit bc3fe68

Please sign in to comment.