Skip to content

Commit

Permalink
Merge pull request vernak2539#44 from vernak2539/update-changelog-gen…
Browse files Browse the repository at this point in the history
…eration-again

fix(changelog): trigger update-changelog workflow from publish
  • Loading branch information
vernak2539 authored Apr 19, 2024
2 parents c93bd7c + 3cb978b commit 8488047
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,5 @@ jobs:
run: yarn npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: "Commit CHANGELOG.md"
run: |
git add CHANGELOG.md
if [ ! -n "$(git status -s)" ]; then
echo "NOTHING TO COMMIT"
else
git config user.name "Alex Vernacchia"
git config user.email "[email protected]"
git commit -m "[skip ci] Update CHANGELOG.md"
git push origin main --no-verify
fi
- name: "Trigger update-changelog.yml workflow"
run: gh workflow run update-changelog.yml --ref main

0 comments on commit 8488047

Please sign in to comment.