Skip to content

Commit 3476b6f

Browse files
authored
Merge pull request #12999 from github/repo-sync
repo sync
2 parents 84ad74a + dc4ca1c commit 3476b6f

442 files changed

Lines changed: 6576 additions & 5435 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = {
1313
babelOptions: { configFile: './.babelrc' },
1414
sourceType: 'module',
1515
},
16-
ignorePatterns: ['tmp/*'],
16+
ignorePatterns: ['tmp/*', '!/.*', '/.next/'],
1717
rules: {
1818
'import/no-extraneous-dependencies': ['error', { packageDir: '.' }],
1919
},

.github/actions-scripts/fr-add-docs-reviewers-requests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ async function run() {
134134
// Exclude existing items going forward.
135135
// Until we have a way to check from a PR whether the PR is in a project,
136136
// this is how we (roughly) avoid overwriting PRs that are already on the board
137-
let newItemIDs = []
138-
let newItemAuthors = []
137+
const newItemIDs = []
138+
const newItemAuthors = []
139139
itemIDs.forEach((id, index) => {
140140
if (!existingItemIDs.includes(id)) {
141141
newItemIDs.push(id)

.github/actions-scripts/ready-for-docs-review.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ async function run() {
8585
// - affected docs sets (not considering changes to data/assets)
8686
let numFiles = 0
8787
let numChanges = 0
88-
let features = new Set([])
89-
const files = data.item.files.nodes.forEach((node) => {
88+
const features = new Set([])
89+
data.item.files.nodes.forEach((node) => {
9090
numFiles += 1
9191
numChanges += node.additions
9292
numChanges += node.deletions

.github/workflows/browser-test.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ name: Browser Tests
66

77
on:
88
workflow_dispatch:
9-
push:
10-
branches:
11-
- main
129
pull_request:
1310
paths:
1411
- '**.js'
@@ -56,7 +53,7 @@ jobs:
5653
uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353
5754
with:
5855
path: .next/cache
59-
key: ${{ runner.os }}-nextjs-${{ hashFiles('package*.json') }}-${{ hashFiles('.github/workflows/browser-test.yml') }}
56+
key: ${{ runner.os }}-nextjs-${{ hashFiles('package*.json') }}
6057

6158
- name: Cache lib/redirects/.redirects-cache_en_ja.json
6259
uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353

.github/workflows/check-all-english-links.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ jobs:
3434
cache: npm
3535
- name: npm ci
3636
run: npm ci
37+
- name: Cache nextjs build
38+
uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353
39+
with:
40+
path: .next/cache
41+
key: ${{ runner.os }}-nextjs-${{ hashFiles('package*.json') }}
3742
- name: npm run build
3843
run: npm run build
3944
- name: Run script

.github/workflows/code-lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
- '**.yaml'
1919
- '**.yml'
2020
- '**.scss'
21+
- .eslintrc.js
2122
# In case something like eslint or tsc or prettier upgrades
2223
- 'package-lock.json'
2324
# Ultimately, for debugging this workflow itself

.github/workflows/enterprise-release-sync-search-index.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ jobs:
5757
id: getVersion
5858
run: $GITHUB_WORKSPACE/.github/actions-scripts/enterprise-search-label.js
5959

60+
- name: Cache nextjs build
61+
uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353
62+
with:
63+
path: .next/cache
64+
key: ${{ runner.os }}-nextjs-${{ hashFiles('package*.json') }}
65+
6066
- name: Generate the search index files
6167
if: ${{ steps.getVersion.outputs.versionToSync }}
6268
env:

.github/workflows/link-check-dotcom.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ jobs:
3232
- name: Install
3333
run: npm ci
3434

35+
- name: Cache nextjs build
36+
uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353
37+
with:
38+
path: .next/cache
39+
key: ${{ runner.os }}-nextjs-${{ hashFiles('package*.json') }}
40+
3541
- name: Build
3642
run: npm run build
3743

.github/workflows/link-check-ghae.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ jobs:
3232
- name: Install
3333
run: npm ci
3434

35+
- name: Cache nextjs build
36+
uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353
37+
with:
38+
path: .next/cache
39+
key: ${{ runner.os }}-nextjs-${{ hashFiles('package*.json') }}
40+
3541
- name: Build
3642
run: npm run build
3743

.github/workflows/link-check-ghec.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ jobs:
3030
- name: Install
3131
run: npm ci
3232

33+
- name: Cache nextjs build
34+
uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353
35+
with:
36+
path: .next/cache
37+
key: ${{ runner.os }}-nextjs-${{ hashFiles('package*.json') }}
38+
3339
- name: Build
3440
run: npm run build
3541

0 commit comments

Comments
 (0)