Skip to content

Commit de3a287

Browse files
committed
Merge remote-tracking branch 'docs/main' into code-fence-languages
2 parents 73329f7 + b9df88a commit de3a287

File tree

498 files changed

+542200
-3549
lines changed

Some content is hidden

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

498 files changed

+542200
-3549
lines changed

.github/allowed-actions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ module.exports = [
1313
'actions/stale@af4072615903a8b031f986d25b1ae3bf45ec44d4', //actions/stale@v3.0.13
1414
'crowdin/github-action@fd9429dd63d6c0f8a8cb4b93ad8076990bd6e688',
1515
'crykn/copy_folder_to_another_repo_action@abc264e1c16eb3d7b1f7763bfdb0e1699ad43120',
16+
'cschleiden/actions-linter@43fd4e08e52ed40c0e2782dc2425694388851576',
1617
'dawidd6/action-delete-branch@47743101a121ad657031e6704086271ca81b1911',
1718
'docker://chinthakagodawita/autoupdate-action:v1',
1819
'fkirc/skip-duplicate-actions@36feb0d8d062137530c2e00bd278d138fe191289',

.github/workflows/autoupdate-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
autoupdate:
88
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
99
name: autoupdate
10-
runs-on: ubuntu-18.04
10+
runs-on: ubuntu-latest
1111
steps:
1212
- uses: docker://chinthakagodawita/autoupdate-action:v1
1313
env:

.github/workflows/codeql.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ name: CodeQL analysis
22

33
on:
44
push:
5-
branches: main
5+
branches:
6+
- main
67
pull_request:
7-
branches: main
8+
branches:
9+
- main
810
paths:
911
- '**/*.js'
1012
- '.github/workflows/codeql.yml'

.github/workflows/site-policy-sync.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
- main
99
types:
1010
- closed
11+
paths:
12+
- 'content/github/site-policy/**'
1113

1214
# Allows you to run this workflow manually from the Actions tab
1315
workflow_dispatch:
@@ -33,8 +35,8 @@ jobs:
3335
with:
3436
source_folder: 'content/github/site-policy'
3537
destination_repo: 'github/site-policy'
36-
destination_branch: 'non-substantive-changes'
38+
destination_branch: 'repo-sync'
3739
destination_folder: 'Policies'
3840
user_email: '[email protected]'
3941
user_name: 'pcihon'
40-
commit_msg: 'Mirroring non-substantive changes.'
42+
commit_msg: 'Automatic sync from GitHub Docs.'

.github/workflows/test-windows.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ name: Node.js Tests - Windows
44

55
on:
66
workflow_dispatch:
7+
pull_request:
78
schedule:
89
- cron: '50 19 * * *' # once a day at 19:50 UTC / 11:50 PST
910

1011
jobs:
1112
test:
1213
runs-on: windows-latest
14+
if: (github.event_name != 'pull_request') || (github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'Windows') || contains(github.event.pull_request.labels.*.name, 'windows')))
1315
strategy:
1416
fail-fast: false
1517
matrix:

.github/workflows/triage-unallowed-contributions.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ jobs:
104104
body: reviewMessage,
105105
event: 'REQUEST_CHANGES'
106106
})
107+
exit 1 # prevents further steps from running and fails workflow
107108
# When the most recent review was CHANGES_REQUESTED and the existing
108109
# PR no longer contains unallowed changes, dismiss the previous review
109110
- name: Dismiss pull request review

.github/workflows/workflow-lint.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Lint workflows
2+
3+
on:
4+
workflow_dispatch:
5+
# push:
6+
# branches:
7+
# - main
8+
# pull_request:
9+
# branches-ignore:
10+
# - translations
11+
12+
jobs:
13+
lint:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Check out repo
17+
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
18+
19+
- name: Run linter
20+
uses: cschleiden/actions-linter@43fd4e08e52ed40c0e2782dc2425694388851576
21+
with:
22+
workflows: '[".github/workflows/*.yml"]'

README.md

Lines changed: 1 addition & 1 deletion
Binary file not shown.
2.75 KB
9.38 KB

content/README.md

Lines changed: 10 additions & 3 deletions
Lines changed: 248 additions & 0 deletions

0 commit comments

Comments
 (0)