Skip to content

Commit 677e7b3

Browse files
authored
ci(release-please): avoid re-writing commits on release PR (#3105)
1 parent ab53ea2 commit 677e7b3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/release-please.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,19 +53,16 @@ jobs:
5353
fetch-depth: 0
5454

5555
# If we've created/updated a PR:
56-
# 1. Amend the author to 'otelbot', which passes EasyCLA.
57-
# 2. Sync the legacy "dependencies" key in package-lock.json.
56+
# Sync the legacy "dependencies" key in package-lock.json.
5857
- name: Update package-lock.json in PR
5958
if: ${{ steps.release.outputs.pr }}
6059
run: |
6160
git config user.name otelbot
6261
git config user.email [email protected]
63-
git fetch origin main:refs/remotes/origin/main
64-
git rebase origin/main -x "git commit --amend --reset-author --no-edit"
6562
npm install --ignore-scripts --package-lock-only
6663
git add package-lock.json
6764
git commit -m "chore: sync package-lock.json 'dependencies' key"
68-
git push --force
65+
git push
6966
7067
install-and-compile:
7168
needs: release-please

0 commit comments

Comments
 (0)