Skip to content

Commit b661f6b

Browse files
authored
Merge branch 'main' into patch-1
2 parents 58f028e + 3b3d0a0 commit b661f6b

35 files changed

Lines changed: 123 additions & 71 deletions

.devcontainer.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Codespaces environment for docs.github.com
2+
// For format details, see https://aka.ms/vscode-remote/devcontainer.json
3+
{
4+
"name": "docs.github.com",
5+
"service": "container-doc",
6+
"settings": {
7+
"terminal.integrated.shell.linux": "/bin/bash",
8+
"cSpell.language": ",en"
9+
},
10+
// Install pre-requisites, and start to serve docs.github.com locally
11+
"postCreateCommand": "npm install && npm start",
12+
"forwardPorts": [4000],
13+
// Visual Studio Code extensions which help authoring for docs.github.com.
14+
"extensions": [
15+
"yzhang.markdown-all-in-one",
16+
"streetsidesoftware.code-spell-checker"
17+
]
18+
}

.github/allowed-actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// can be added it this list.
55

66
module.exports = [
7-
'actions/cache@d1255ad9362389eac595a9ae406b8e8cb3331f16', //actions/cache@v2.1.2
7+
'actions/cache@0781355a23dac32fd3bac414512f4b903437991a', //actions/cache@v2.1.3
88
'actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f', //actions/checkout@v2.3.4
99
'actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9', //actions/script@v3.0.0
1010
'actions/labeler@5f867a63be70efff62b767459b009290364495eb', //actions/labeler@v2.2.0

.github/workflows/automerge-dependencies.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
name: Auto Merge Dependency Updates
22

33
on:
4-
- pull_request
5-
- pull_request_review
4+
pull_request:
5+
paths:
6+
- "package*.json"
7+
- "Gemfile*"
8+
- "Dockerfile"
9+
- ".github/workflows/**"
10+
pull_request_review:
11+
types:
12+
- edited
13+
- submitted
614

715
jobs:
816
run:

.github/workflows/browser-test.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,18 @@ jobs:
2020
paths: '[".github/workflows/browser-test.yml","assets/**", "content/**", "data/**", "includes/**", "javascripts/**", "jest-puppeteer.config.js", "jest.config.js", "layouts/**", "lib/**", "middleware/**", "package-lock.json", "package.json", "server.js", "translations/**", "webpack.config.js"]'
2121
build:
2222
needs: see_if_should_skip
23+
if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
2324
runs-on: ubuntu-latest
2425
steps:
25-
# Each of these ifs needs to be repeated at each step to make sure the required check still runs
26-
# Even if if doesn't do anything
27-
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
28-
name: Checkout
26+
- name: Checkout
2927
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
3028

31-
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
32-
name: Install
29+
- name: Install
3330
uses: ianwalter/puppeteer@12728ddef82390d1ecd4732fb543f62177392fbb
3431
with:
3532
args: npm ci
3633

37-
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
38-
name: Test
34+
- name: Test
3935
uses: ianwalter/puppeteer@12728ddef82390d1ecd4732fb543f62177392fbb
4036
with:
4137
args: npm run browser-test

.github/workflows/dry-run-sync-algolia-search-indices.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
node-version: 14.x
1717
- name: cache node modules
18-
uses: actions/cache@d1255ad9362389eac595a9ae406b8e8cb3331f16
18+
uses: actions/cache@0781355a23dac32fd3bac414512f4b903437991a
1919
with:
2020
path: ~/.npm
2121
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/js-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
echo "::set-output name=dir::$(npm config get cache)"
4343
4444
- name: Cache node modules
45-
uses: actions/cache@d1255ad9362389eac595a9ae406b8e8cb3331f16
45+
uses: actions/cache@0781355a23dac32fd3bac414512f4b903437991a
4646
with:
4747
path: ${{ steps.npm-cache.outputs.dir }}
4848
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/pa11y.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
echo "::set-output name=dir::$(npm config get cache)"
1717
1818
- name: Cache node modules
19-
uses: actions/cache@d1255ad9362389eac595a9ae406b8e8cb3331f16
19+
uses: actions/cache@0781355a23dac32fd3bac414512f4b903437991a
2020
with:
2121
path: ${{ steps.npm-cache.outputs.dir }}
2222
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/sync-algolia-search-indices.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
node-version: 14.x
2020
- name: cache node modules
21-
uses: actions/cache@d1255ad9362389eac595a9ae406b8e8cb3331f16
21+
uses: actions/cache@0781355a23dac32fd3bac414512f4b903437991a
2222
with:
2323
path: ~/.npm
2424
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/test-translations.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
echo "::set-output name=dir::$(npm config get cache)"
2828
2929
- name: Cache node modules
30-
uses: actions/cache@d1255ad9362389eac595a9ae406b8e8cb3331f16
30+
uses: actions/cache@0781355a23dac32fd3bac414512f4b903437991a
3131
with:
3232
path: ${{ steps.npm-cache.outputs.dir }}
3333
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -65,7 +65,7 @@ jobs:
6565
echo "::set-output name=dir::$(npm config get cache)"
6666
6767
- name: Cache node modules
68-
uses: actions/cache@d1255ad9362389eac595a9ae406b8e8cb3331f16
68+
uses: actions/cache@0781355a23dac32fd3bac414512f4b903437991a
6969
with:
7070
path: ${{ steps.npm-cache.outputs.dir }}
7171
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/test-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
echo "::set-output name=dir::$(npm config get cache)"
3333
3434
- name: Cache node modules
35-
uses: actions/cache@d1255ad9362389eac595a9ae406b8e8cb3331f16
35+
uses: actions/cache@0781355a23dac32fd3bac414512f4b903437991a
3636
with:
3737
path: ${{ steps.npm-cache.outputs.dir }}
3838
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

0 commit comments

Comments
 (0)