Skip to content

Commit 43e4180

Browse files
committed
fix: bump-docs-version workflow, add manual trigger
1 parent 7f74021 commit 43e4180

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/bump-docs-version.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: "Bump Docs Version"
33
on:
44
release:
55
types: [released]
6+
workflow_dispatch:
67

78
permissions:
89
contents: write
@@ -43,6 +44,12 @@ jobs:
4344
pnpm version ${{ steps.extract_version.outputs.version }} --no-git-tag-version
4445
echo "Updated docs/package.json to version ${{ steps.extract_version.outputs.version }}"
4546
47+
- name: Pull latest changes
48+
run: |
49+
git config --global user.name "github-actions[bot]"
50+
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
51+
git pull origin main --rebase
52+
4653
- name: Commit updated package.json
4754
uses: stefanzweifel/git-auto-commit-action@v6
4855
with:

0 commit comments

Comments
 (0)