Skip to content

Commit 91412f5

Browse files
authored
Merge pull request #23049 from github/repo-sync
repo sync
2 parents fa9b026 + ae792b8 commit 91412f5

37 files changed

+5759
-8534950
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
// Install features. Type 'feature' in the VS Code command palette for a full list.
1919
"features": {
20-
"git-lfs": "latest",
2120
"sshd": "latest"
2221
},
2322

@@ -42,7 +41,7 @@
4241
},
4342

4443
// Use 'postCreateCommand' to run commands after the container is created.
45-
"postCreateCommand": "git lfs pull && npm ci",
44+
"postCreateCommand": "npm ci",
4645

4746
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
4847
"remoteUser": "node"

.github/actions-scripts/enterprise-server-issue-templates/release-issue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ This file should be automatically updated, but you can also run `script/update-e
101101
102102
### 🚢 🛳️ 🚢 Shipping the release branch
103103
104-
- [ ] The megabranch creator should push the search index LFS objects for the public `github/docs` repo. The LFS objects were already pushed for the internal repo after the `sync-english-index-for-<PLAN@RELEASE>` was added to the megabranch. To push the LFS objects to the public repo:
104+
- [ ] Sync the search indices for the new release:
105105
1. First navigate to the [sync search indices workflow](https://github.com/github/docs-internal/actions/workflows/sync-search-indices.yml).
106106
2. Then, to run the workflow with parameters, click on `Run workflow` button.
107107
3. A modal will pop up where you will set the following inputs:

.github/workflows/azure-preview-env-deploy.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ jobs:
9191
with:
9292
ref: 'main'
9393
persist-credentials: 'false'
94-
lfs: 'true'
9594

9695
- if: ${{ env.IS_INTERNAL_BUILD == 'true' }}
9796
name: Check out PR code
@@ -100,10 +99,6 @@ jobs:
10099
ref: ${{ env.COMMIT_REF }}
101100
# To prevent issues with cloning early access content later
102101
persist-credentials: 'false'
103-
lfs: 'true'
104-
105-
- name: Check out LFS objects
106-
run: git lfs checkout
107102

108103
- name: Get preview app info
109104
env:

.github/workflows/azure-staging-build-deploy.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@ jobs:
6565
ref: ${{ env.COMMIT_REF }}
6666
# To prevent issues with cloning early access content later
6767
persist-credentials: 'false'
68-
lfs: 'true'
69-
70-
- name: Check out LFS objects
71-
run: git lfs checkout
7268

7369
- name: 'Set env vars'
7470
run: |

.github/workflows/browser-test.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ jobs:
5050

5151
- name: Checkout
5252
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
53-
with:
54-
lfs: true
55-
56-
- name: Checkout LFS objects
57-
run: git lfs checkout
5853

5954
- name: Setup Node
6055
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516

.github/workflows/content-changes-table-comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
run: .github/actions-scripts/content-changes-table-comment.js
7676

7777
- name: Find content directory changes comment
78-
uses: peter-evans/find-comment@1769778a0c5bd330272d749d12c036d65e70d39d
78+
uses: peter-evans/find-comment@f4499a714d59013c74a08789b48abe4b704364a0
7979
id: findComment
8080
with:
8181
issue-number: ${{ github.event.pull_request.number }}

.github/workflows/enterprise-dates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555

5656
- name: Create pull request
5757
id: create-pull-request
58-
uses: peter-evans/create-pull-request@bd72e1b7922d417764d27d30768117ad7da78a0e
58+
uses: peter-evans/create-pull-request@2b011faafdcbc9ceb11414d64d0573f37c774b04
5959
env:
6060
# Disable pre-commit hooks; they don't play nicely here
6161
HUSKY: '0'

.github/workflows/main-preview-docker-cache.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ jobs:
4949
with:
5050
# To prevent issues with cloning early access content later
5151
persist-credentials: 'false'
52-
lfs: 'true'
53-
54-
- name: Check out LFS objects
55-
run: git lfs checkout
5652

5753
- if: ${{ env.ENABLE_EARLY_ACCESS }}
5854
name: Clone docs-early-access

.github/workflows/repo-sync.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,10 @@ jobs:
100100
- name: Check out repo
101101
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
102102

103-
# Set up npm and run npm ci to run husky to get githooks for LFS
103+
# Set up npm and run npm ci to get custom husky githooks error
104+
# messages if they exist. We could also remove these two steps
105+
# because currently we have no hooks with customer error messages.
106+
# See pull #32064 where they were removed.
104107
- name: Setup node
105108
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516
106109
with:

.github/workflows/test.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,6 @@ jobs:
6666
# Even if if doesn't do anything
6767
- name: Check out repo
6868
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
69-
with:
70-
# Not all test suites need the LFS files. So instead, we opt to
71-
# NOT clone them initially and instead, include them manually
72-
# only for the test groups that we know need the files.
73-
lfs: ${{ matrix.test-group == 'content' }}
74-
# Enables cloning the Early Access repo later with the relevant PAT
75-
# persist-credentials: 'false'
76-
# ->> Do we really need this? actions/checkout doesn't use it for the nested example:
77-
# https://github.com/actions/checkout#checkout-multiple-repos-nested
7869

7970
- name: Setup node
8071
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516
@@ -172,11 +163,6 @@ jobs:
172163
token: ${{ secrets.DOCUBOT_REPO_PAT }}
173164
path: translations/ko-kr
174165

175-
# This is necessary when LFS files where cloned but does nothing
176-
# if actions/checkout was run with `lfs:false`.
177-
- name: Checkout LFS objects
178-
run: git lfs checkout
179-
180166
- name: Gather files changed
181167
env:
182168
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)