Skip to content

Commit 72c55f9

Browse files
author
Martin Lopes
authored
Merge branch 'main' into 5765-private-profile
2 parents 49d8270 + eddda04 commit 72c55f9

File tree

2,386 files changed

+334584
-243295
lines changed

Some content is hidden

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

2,386 files changed

+334584
-243295
lines changed

.devcontainer/test-custom-devcontainer/devcontainer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
"sissel.shopify-liquid"
1212
],
1313

14+
"hostRequirements": {
15+
"cpus": 8,
16+
"memory": "8gb",
17+
"storage": "32gb"
18+
},
19+
1420
// Use 'forwardPorts' to make a list of ports inside the container available locally.
1521
"forwardPorts": [5000],
1622

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

Lines changed: 1 addition & 4 deletions

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
IS_INTERNAL_BUILD: ${{ github.repository == 'github/docs-internal' }}
6060
# This may also run in forked repositories, not just 'github/docs'
6161
IS_PUBLIC_BUILD: ${{ github.repository != 'github/docs-internal' }}
62+
NONPROD_REGISTRY_USERNAME: ${{ fromJSON('["ghdocs", "ghdocsinternal"]')[github.repository == 'github/docs-internal'] }}
6263

6364
steps:
6465
- name: 'Az CLI login'
@@ -70,7 +71,7 @@ jobs:
7071
uses: azure/docker-login@81744f9799e7eaa418697cb168452a2882ae844a
7172
with:
7273
login-server: ${{ secrets.NONPROD_REGISTRY_SERVER }}
73-
username: ${{ secrets.NONPROD_REGISTRY_USERNAME }}
74+
username: ${{ env.NONPROD_REGISTRY_USERNAME }}
7475
password: ${{ secrets.NONPROD_REGISTRY_PASSWORD }}
7576

7677
- name: Set up Docker Buildx
@@ -205,7 +206,7 @@ jobs:
205206
parameters: appName="${{ env.APP_NAME }}"
206207
containerImage="${{ env.DOCKER_IMAGE }}"
207208
dockerRegistryUrl="${{ secrets.NONPROD_REGISTRY_SERVER }}"
208-
dockerRegistryUsername="${{ secrets.NONPROD_REGISTRY_USERNAME }}"
209+
dockerRegistryUsername="${{ env.NONPROD_REGISTRY_USERNAME }}"
209210
dockerRegistryPassword="${{ secrets.NONPROD_REGISTRY_PASSWORD }}"
210211
# this shows warnings in the github actions console, because the flag is passed through a validation run,
211212
# but it *is* functional during the actual execution

.github/workflows/check-broken-links-github-github.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ jobs:
5151
run: npm ci
5252

5353
- name: Run broken github/github link check
54+
env:
55+
WAF_TOKEN: ${{ secrets.WAF_TOKEN }}
5456
run: |
5557
script/check-github-github-links.js > broken_github_github_links.md
5658

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
runs-on: ubuntu-latest
3232
steps:
3333
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
34-
- uses: github/codeql-action/init@1a927e9307bc11970b2c679922ebc4d03a5bd980
34+
- uses: github/codeql-action/init@1ed1437484560351c5be56cf73a48a279d116b78
3535
with:
3636
languages: javascript # comma separated list of values from {go, python, javascript, java, cpp, csharp} (not YET ruby, sorry!)
37-
- uses: github/codeql-action/analyze@1a927e9307bc11970b2c679922ebc4d03a5bd980
37+
- uses: github/codeql-action/analyze@1ed1437484560351c5be56cf73a48a279d116b78
3838
continue-on-error: true

.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@f22a7da129c901513876a2380e2dae9f8e145330
58+
uses: peter-evans/create-pull-request@bd72e1b7922d417764d27d30768117ad7da78a0e
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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
env:
2727
ENABLE_EARLY_ACCESS: ${{ github.repository == 'github/docs-internal' }}
2828
DOCKER_IMAGE_CACHE_REF: ${{ secrets.NONPROD_REGISTRY_SERVER }}/${{ github.repository }}:main-preview
29+
NONPROD_REGISTRY_USERNAME: ${{ fromJSON('["ghdocs", "ghdocsinternal"]')[github.repository == 'github/docs-internal'] }}
2930

3031
steps:
3132
- name: 'Az CLI login'
@@ -37,7 +38,7 @@ jobs:
3738
uses: azure/docker-login@81744f9799e7eaa418697cb168452a2882ae844a
3839
with:
3940
login-server: ${{ secrets.NONPROD_REGISTRY_SERVER }}
40-
username: ${{ secrets.NONPROD_REGISTRY_USERNAME }}
41+
username: ${{ env.NONPROD_REGISTRY_USERNAME }}
4142
password: ${{ secrets.NONPROD_REGISTRY_PASSWORD }}
4243

4344
- name: Set up Docker Buildx

.github/workflows/needs-sme-stale-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
jobs:
1616
stale_needs-sme:
17-
if: ${{ github.repository == 'github/docs'' }}
17+
if: ${{ github.repository == 'github/docs' }}
1818
runs-on: ubuntu-latest
1919

2020
steps:

.github/workflows/needs-sme-workflow.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ permissions:
1515
pull-requests: write
1616

1717
jobs:
18-
add-comment:
18+
add-issue-comment:
1919
if: ${{ github.repository == 'github/docs' && (github.event.label.name == 'needs SME' && github.event_name == 'issues' || github.event_name == 'pull_request_target') }}
2020
runs-on: ubuntu-latest
2121
steps:
@@ -24,8 +24,13 @@ jobs:
2424
issue-number: ${{ github.event.issue.number }}
2525
body: |
2626
Thanks for opening an issue! We've triaged this issue for technical review by a subject matter expert :eyes:
27+
28+
add-pr-comment:
29+
if: ${{ github.repository == 'github/docs' && github.event.label.name == 'needs SME' }}
30+
runs-on: ubuntu-latest
31+
steps:
2732
- uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae
2833
with:
29-
issue-number: ${{ github.event.pull_request_target.number }}
34+
issue-number: ${{ github.event.pull_request.number }}
3035
body: |
3136
Thanks for opening a pull request! We've triaged this issue for technical review by a subject matter expert :eyes:

.github/workflows/remove-unused-assets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Remove script results file
4545
run: rm ./results.md
4646
- name: Create pull request
47-
uses: peter-evans/create-pull-request@f22a7da129c901513876a2380e2dae9f8e145330
47+
uses: peter-evans/create-pull-request@bd72e1b7922d417764d27d30768117ad7da78a0e
4848
env:
4949
# Disable pre-commit hooks; they don't play nicely here
5050
HUSKY: '0'

0 commit comments

Comments
 (0)