mirror of
https://github.com/zoriya/v10.git
synced 2026-08-05 13:48:14 +00:00
fix(ci): prevent non-fast-forward push in release-pr workflow (#1213)
This commit is contained in:
@@ -5,6 +5,10 @@ on:
|
||||
branches:
|
||||
- 'release-please--branches--main'
|
||||
|
||||
concurrency:
|
||||
group: release-pr
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
changelog:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -99,4 +103,5 @@ jobs:
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git add CHANGELOG.md site/src/content/changelog/
|
||||
git diff --cached --quiet || git commit -m "chore(release): update root changelog"
|
||||
git pull --rebase
|
||||
git push
|
||||
|
||||
Reference in New Issue
Block a user