Skip to content

Commit fafe224

Browse files
ci: ensure EasyCLA check passes on release PR (#3081)
Co-authored-by: Chengzhong Wu <[email protected]>
1 parent 7cae47a commit fafe224

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release-please.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ jobs:
5151
# use a token so that workflows on the PR run when we push later
5252
token: ${{ steps.otelbot-token.outputs.token }}
5353

54-
# release-please does not do this on its own, so we do it here instead
54+
# previous commiter does not have CLA signed, and the commit is missing updates to package-lock.json,
55+
# so we re-write that commit here with the proper changes
5556
- name: Update package-lock.json in PR
5657
# only update if a PR has been created
5758
if: ${{ steps.release.outputs.pr }}
@@ -60,8 +61,8 @@ jobs:
6061
git add package-lock.json
6162
git config user.name otelbot
6263
git config user.email [email protected]
63-
git commit -m "chore: sync package-lock.json"
64-
git push
64+
git commit --amend --reset-author --no-edit
65+
git push --force
6566
6667
install-and-compile:
6768
needs: release-please

0 commit comments

Comments
 (0)