Skip to content

Commit

Permalink
Fix increment package version
Browse files Browse the repository at this point in the history
  • Loading branch information
alexx855 committed Mar 14, 2024
1 parent 74c992c commit 3b254ca
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/weekly_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,15 @@ jobs:
id: git-check
run: |
git diff --quiet && git diff --staged --quiet || echo "::set-output name=changes_detected::true"
- name: Increment package version
if: steps.git-check.outputs.changes_detected == 'true'
run: |
pnpm version patch --no-git-tag-version
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add package.json
git commit -m "Increment package version"
- name: Create Pull Request
if: steps.git-check.outputs.changes_detected == 'true'
Expand Down

0 comments on commit 3b254ca

Please sign in to comment.