Skip to content

Commit f306e4e

Browse files
authored
Force add lib in workflows which commit LKG (#53248)
1 parent e49db97 commit f306e4e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/new-release-branch.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
git add src/compiler/corePublic.ts
3838
git add tests/baselines/reference/api/typescript.d.ts
3939
git add tests/baselines/reference/api/tsserverlibrary.d.ts
40-
git add ./lib
40+
git add --force ./lib
4141
git config user.email "[email protected]"
4242
git config user.name "TypeScript Bot"
4343
git commit -m 'Bump version to ${{ github.event.client_payload.package_version }} and LKG'

.github/workflows/set-version.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
git add src/compiler/corePublic.ts
4444
git add tests/baselines/reference/api/typescript.d.ts
4545
git add tests/baselines/reference/api/tsserverlibrary.d.ts
46-
git add ./lib
46+
git add --force ./lib
4747
git config user.email "[email protected]"
4848
git config user.name "TypeScript Bot"
4949
git commit -m 'Bump version to ${{ github.event.client_payload.package_version }} and LKG'

.github/workflows/update-lkg.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ jobs:
2525
npx hereby LKG
2626
npm test
2727
git diff
28-
git add ./lib
28+
git add --force ./lib
2929
git commit -m "Update LKG"
3030
git push

0 commit comments

Comments
 (0)