Skip to content

Commit 0090adc

Browse files
committed
refactor: Amend release commit, instead of polluting PR with a new one
1 parent 7b3c9c9 commit 0090adc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release-please.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ jobs:
5656
done
5757
5858
# Commit the change back to the PR branch
59-
git config user.name "github-actions[bot]"
60-
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
59+
# Amend the Release Please commit to include our fixes
60+
# This keeps the PR clean with a single commit
6161
git add packages/project/package.json package-lock.json
62-
git commit -m "ci(release-please): update @ui5/builder peer dependency and regenerate lockfile"
63-
git push
62+
git commit --amend --no-edit
63+
git push --force-with-lease
6464
env:
6565
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6666

0 commit comments

Comments
 (0)