Skip to content

Commit 8b5c0e5

Browse files
authored
Merge branch 'main' into Ruth-ikegah/issue#430
2 parents 5c31f1a + 453adc7 commit 8b5c0e5

File tree

100 files changed

+851
-292
lines changed

Some content is hidden

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

100 files changed

+851
-292
lines changed

.all-contributorsrc

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,8 @@
328328
"name": "Simran",
329329
"avatar_url": "https://avatars3.githubusercontent.com/u/7819991?v=4",
330330
"profile": "https://www.arangodb.com/",
331+
"contributions": [
332+
"doc"
331333
]
332334
},
333335
{
@@ -356,8 +358,26 @@
356358
"contributions": [
357359
"code"
358360
]
359-
}
360-
],
361+
},
362+
{
363+
"login": "paulyhedral",
364+
"name": "Paul Schifferer",
365+
"avatar_url": "https://avatars1.githubusercontent.com/u/419457?v=4",
366+
"profile": "https://wanderingmonster.org",
367+
"contributions": [
368+
"content"
369+
]
370+
},
371+
{
372+
"login": "Protectator",
373+
"name": "Kewin Dousse",
374+
"avatar_url": "https://avatars3.githubusercontent.com/u/1529017?v=4",
375+
"profile": "https://www.kewindousse.ch",
376+
"contributions": [
377+
"content"
378+
]
379+
},
380+
{
361381
"contributorsPerLine": 7,
362382
"projectName": "docs",
363383
"projectOwner": "github",

.github/CODEOWNERS

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,21 @@
33
# https://help.github.com/articles/about-codeowners
44
# https://git-scm.com/docs/gitignore
55

6-
/translations/ @github/docs-localization @github-actions
6+
# Engineering
77
*.js @github/docs-engineering
88
/.github/ @github/docs-engineering
99
/script/ @github/docs-engineering
1010
app.json @github/docs-engineering
11-
crowdin.yml @github/docs-engineering
1211
Dockerfile @github/docs-engineering
1312
package-lock.json @github/docs-engineering
1413
package.json @github/docs-engineering
1514

15+
# Localization
16+
/.github/workflows/crowdin.yml @github/docs-localization
17+
/crowdin*.yml @github/docs-engineering @github/docs-localization
18+
/translations/ @github/docs-engineering @github/docs-localization @github-actions
19+
20+
# Site Policy
1621
/content/github/site-policy/ @github/site-policy-admins
1722

1823
# Make sure that Octokit maintainers get notified about changes

.github/allowed-actions.js

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,34 @@
44
// can be added it this list.
55

66
module.exports = [
7-
'actions/cache@v1',
8-
'actions/cache@v2',
9-
'actions/checkout@v2',
10-
'actions/github-script@0.9.0',
11-
'actions/github-script@v2.0.0',
12-
'actions/github-script@v2',
13-
'actions/github-script@v3',
14-
'actions/labeler@v2',
15-
'actions/setup-node@v1',
16-
'actions/setup-ruby@v1',
17-
'actions/stale@v3',
18-
'crowdin/github-action@1.0.10',
19-
'dawidd6/action-delete-branch@v3',
7+
'actions/cache@70655ec8323daeeaa7ef06d7c56e1b9191396cbe',
8+
'actions/cache@d1255ad9362389eac595a9ae406b8e8cb3331f16',
9+
'actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675',
10+
'actions/github-script@5d03ada4b0a753e9460b312e61cc4f8fdeacf163',
11+
'actions/github-script@6e5ee1dc1cb3740e5e5e76ad668e3f526edbfe45',
12+
'actions/github-script@44b873bc975058192f5279ebe7579496381f575d',
13+
'actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9',
14+
'actions/labeler@5f867a63be70efff62b767459b009290364495eb',
15+
'actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d',
16+
'actions/setup-ruby@5f29a1cd8dfebf420691c4c9a0e832e2fae5a526',
17+
'actions/stale@44f9eae0adddf72dbf3eedfacc999f70afcec1a8',
18+
'crowdin/github-action@fd9429dd63d6c0f8a8cb4b93ad8076990bd6e688',
19+
'dawidd6/action-delete-branch@47743101a121ad657031e6704086271ca81b1911',
2020
'docker://chinthakagodawita/autoupdate-action:v1',
21+
'fkirc/skip-duplicate-actions@a12175f6209d4805b5a163d723270be2a0dc7b36',
2122
'github/codeql-action/analyze@v1',
2223
'github/codeql-action/init@v1',
23-
'ianwalter/puppeteer@3.0.0',
24-
'juliangruber/approve-pull-request-action@v1',
25-
'juliangruber/find-pull-request-action@v1',
26-
'juliangruber/read-file-action@v1',
24+
'ianwalter/puppeteer@12728ddef82390d1ecd4732fb543f62177392fbb',
25+
'juliangruber/approve-pull-request-action@c530832d4d346c597332e20e03605aa94fa150a8',
26+
'juliangruber/find-pull-request-action@64d55773c959748ad30a4184f4dc102af1669f7b',
27+
'juliangruber/read-file-action@e0a316da496006ffd19142f0fd594a1783f3b512',
2728
'pascalgn/automerge-action@c9bd182',
28-
'peter-evans/create-issue-from-file@v2',
29-
'peter-evans/create-pull-request@v2',
30-
'rachmari/[email protected]',
31-
'rachmari/[email protected]',
32-
'repo-sync/github-sync@v2',
33-
'repo-sync/pull-request@v2',
34-
'rtCamp/action-slack-notify@master',
35-
29+
'peter-evans/create-issue-from-file@35e304e2a12caac08c568247a2cb46ecd0c3ecc5',
30+
'peter-evans/create-pull-request@938e6aea6f8dbdaced2064e948cb806c77fe87b8',
31+
'rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9',
32+
'rachmari/labeler@832d42ec5523f3c6d46e8168de71cd54363e3e2e',
33+
'repo-sync/github-sync@3832fe8e2be32372e1b3970bbae8e7079edeec88',
34+
'repo-sync/pull-request@ea6773388b83b337e4da9a223293309f2c3670e7',
35+
'rtCamp/action-slack-notify@e17352feaf9aee300bf0ebc1dfbf467d80438815',
3636
'tjenkinson/gh-action-auto-merge-dependency-updates@cee2ac0'
3737
]

.github/workflows/60-days-stale-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
stale:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/stale@v3
10+
- uses: actions/stale@44f9eae0adddf72dbf3eedfacc999f70afcec1a8
1111
with:
1212
repo-token: ${{ secrets.GITHUB_TOKEN }}
1313
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity.'

.github/workflows/auto-label-prs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ jobs:
77
if: github.repository == 'github/docs-internal'
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/labeler@v2
10+
- uses: actions/labeler@5f867a63be70efff62b767459b009290364495eb
1111
with:
1212
repo-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/autoupdate-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
GITHUB_TOKEN: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
1414
PR_FILTER: labelled
1515
PR_LABELS: autoupdate
16-
MERGE_MSG: "Branch was updated using the 'autoupdate branch' Actions workflow."
16+
MERGE_MSG: "Branch was updated using the 'autoupdate branch' Actions workflow."

.github/workflows/browser-test.yml

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,41 @@
11
name: Browser Tests
22

3-
on: [push]
3+
on:
4+
workflow_dispatch:
5+
push:
46

57
jobs:
8+
see_if_should_skip:
9+
continue-on-error: true
10+
runs-on: ubuntu-latest
11+
# Map a step output to a job output
12+
outputs:
13+
should_skip: ${{ steps.skip_check.outputs.should_skip }}
14+
steps:
15+
- id: skip_check
16+
uses: fkirc/skip-duplicate-actions@a12175f6209d4805b5a163d723270be2a0dc7b36
17+
with:
18+
cancel_others: 'false'
19+
github_token: ${{ github.token }}
20+
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"]'
621
build:
22+
needs: see_if_should_skip
723
runs-on: ubuntu-latest
824
steps:
9-
- name: Checkout
10-
uses: actions/checkout@v2
11-
- name: Install
12-
uses: ianwalter/[email protected]
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
29+
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
30+
31+
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
32+
name: Install
33+
uses: ianwalter/puppeteer@12728ddef82390d1ecd4732fb543f62177392fbb
1334
with:
1435
args: npm ci
15-
- name: Test
16-
uses: ianwalter/[email protected]
36+
37+
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
38+
name: Test
39+
uses: ianwalter/puppeteer@12728ddef82390d1ecd4732fb543f62177392fbb
1740
with:
18-
args: npm run browser-test
41+
args: npm run browser-test

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
if: github.repository == 'github/docs-internal'
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
1414
- name: npm ci
1515
run: npm ci
1616
- name: npm run build
@@ -28,7 +28,7 @@ jobs:
2828
fi
2929
- if: ${{ steps.check.outputs.continue == 'yes' }}
3030
name: Create issue from file
31-
uses: peter-evans/create-issue-from-file@v2
31+
uses: peter-evans/create-issue-from-file@35e304e2a12caac08c568247a2cb46ecd0c3ecc5
3232
with:
3333
token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
3434
title: ${{ steps.check.outputs.title }}

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
1919
- uses: github/codeql-action/init@v1
2020
with:
2121
languages: javascript # comma separated list of values from {go, python, javascript, java, cpp, csharp} (not YET ruby, sorry!)

.github/workflows/crowdin.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,23 @@
33
name: Crowdin Sync
44

55
on:
6-
push:
7-
branches:
8-
- main
6+
workflow_dispatch:
7+
schedule:
8+
- cron: "33 2 * * *" # every day at 2:33 UTC at least until automerge is working
99

1010
jobs:
1111
sync_with_crowdin:
1212
name: Sync with Crowdin
13+
if: github.repository == 'github/docs-internal'
1314
runs-on: ubuntu-latest
1415
steps:
1516
- name: Checkout
16-
uses: actions/checkout@v2
17+
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
1718

1819
- name: Sync
19-
uses: crowdin/github-action@1.0.10
20+
uses: crowdin/github-action@fd9429dd63d6c0f8a8cb4b93ad8076990bd6e688
2021
with:
21-
upload_translations: true
22+
upload_translations: false
2223
download_translations: true
2324
create_pull_request: true
2425

@@ -36,7 +37,7 @@ jobs:
3637
crowdin_branch_name: crowdin-main
3738

3839
env:
39-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
GITHUB_TOKEN: ${{ secrets.OCTOGLOT_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
4041

4142
# This is a numeric id, not to be confused with Crowdin API v1 "project identifier" string
4243
# See "API v2" on https://crowdin.com/project/<your-project>/settings#api
@@ -47,4 +48,4 @@ jobs:
4748
# This token was created by logging into Crowdin with the octoglot user
4849
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
4950

50-
51+

0 commit comments

Comments
 (0)