Skip to content

Commit 72df132

Browse files
committed
updated workflow
1 parent 35cb674 commit 72df132

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,6 @@ jobs:
3737
run: |
3838
npm version ${{ steps.get_version.outputs.version }} --no-git-tag-version
3939
40-
- name: Commit version bump
41-
run: |
42-
git config user.name "github-actions[bot]"
43-
git config user.email "github-actions[bot]@users.noreply.github.com"
44-
git add package.json package-lock.json
45-
git commit -m "chore: bump version to ${{ steps.get_version.outputs.version }}" || echo "No changes to commit"
46-
47-
- name: Push changes
48-
uses: ad-m/github-push-action@v0.6.0
49-
with:
50-
github_token: ${{ secrets.GITHUB_TOKEN }}
51-
branch: main
52-
5340
- name: Install dependencies
5441
run: npm ci
5542

@@ -65,7 +52,7 @@ jobs:
6552
run: |
6653
git config --local user.email "github-actions[bot]@users.noreply.github.com"
6754
git config --local user.name "github-actions[bot]"
68-
git add pyproject.toml
55+
git add package.json package-lock.json
6956
git commit -m "chore: bump version to ${{ steps.get_version.outputs.version }}" || echo "No changes to commit"
7057
git push origin HEAD:main || echo "Nothing to push"
7158

0 commit comments

Comments
 (0)