From f306e4e36a5165d448b9b0e3c02263d836cc1e76 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Fri, 14 Apr 2023 15:37:51 -0700 Subject: [PATCH] Force add lib in workflows which commit LKG (#53248) --- .github/workflows/new-release-branch.yaml | 2 +- .github/workflows/set-version.yaml | 2 +- .github/workflows/update-lkg.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/new-release-branch.yaml b/.github/workflows/new-release-branch.yaml index 69e652d1e0921..dcd720a42da4f 100644 --- a/.github/workflows/new-release-branch.yaml +++ b/.github/workflows/new-release-branch.yaml @@ -37,7 +37,7 @@ jobs: git add src/compiler/corePublic.ts git add tests/baselines/reference/api/typescript.d.ts git add tests/baselines/reference/api/tsserverlibrary.d.ts - git add ./lib + git add --force ./lib git config user.email "typescriptbot@microsoft.com" git config user.name "TypeScript Bot" git commit -m 'Bump version to ${{ github.event.client_payload.package_version }} and LKG' diff --git a/.github/workflows/set-version.yaml b/.github/workflows/set-version.yaml index 3b3bdf59c03c0..0fc9d58d16706 100644 --- a/.github/workflows/set-version.yaml +++ b/.github/workflows/set-version.yaml @@ -43,7 +43,7 @@ jobs: git add src/compiler/corePublic.ts git add tests/baselines/reference/api/typescript.d.ts git add tests/baselines/reference/api/tsserverlibrary.d.ts - git add ./lib + git add --force ./lib git config user.email "typescriptbot@microsoft.com" git config user.name "TypeScript Bot" git commit -m 'Bump version to ${{ github.event.client_payload.package_version }} and LKG' diff --git a/.github/workflows/update-lkg.yml b/.github/workflows/update-lkg.yml index 86aa4d98fd4ba..98e825f9f7de2 100644 --- a/.github/workflows/update-lkg.yml +++ b/.github/workflows/update-lkg.yml @@ -25,6 +25,6 @@ jobs: npx hereby LKG npm test git diff - git add ./lib + git add --force ./lib git commit -m "Update LKG" git push