Skip to content

Commit cacdfc6

Browse files
authored
Fix merge prerelease branch update (#8774)
2 parents 2fc20ef + 63400dc commit cacdfc6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/branch-snap.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ jobs:
6464
run: npm ci
6565
- name: Update version.json for release
6666
run: npx gulp updateVersionForStableRelease
67-
- name: Create PR with version update
68-
uses: peter-evans/create-pull-request@v4
69-
with:
70-
token: ${{ secrets.GITHUB_TOKEN }}
71-
commit-message: Update version for stable release
72-
branch: merge/prerelease-to-release
73-
base: release
67+
- name: Commit and push version update
68+
run: |
69+
git config user.name "github-actions[bot]"
70+
git config user.email "github-actions[bot]@users.noreply.github.com"
71+
git add .
72+
git commit -m "Update version for stable release"
73+
git push origin merge/prerelease-to-release

0 commit comments

Comments
 (0)