Skip to content

Commit d910820

Browse files
author
Sarah Edwards
authored
Merge branch 'main' into patch-2
2 parents 7cd968b + faeb450 commit d910820

File tree

7,396 files changed

+1121649
-641327
lines changed

Some content is hidden

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

7,396 files changed

+1121649
-641327
lines changed

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ tests/
1010
lib/rest/static/dereferenced
1111
# Folder is cloned during the preview + prod workflows, the assets are merged into other locations for use before the build
1212
docs-early-access/
13+
# During the preview deploy untrusted user code may be cloned into this directory
14+
user-code/

.github/CODEOWNERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
/script/ @github/docs-engineering
1212
/includes/ @github/docs-engineering
1313
/lib/search/popular-pages.json @github/docs-engineering
14-
app.json @github/docs-engineering
1514
Dockerfile @github/docs-engineering
1615
package-lock.json @github/docs-engineering
1716
package.json @github/docs-engineering

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ This file should be automatically updated, but you can also run `script/update-e
116116
Use admin permissions to ship the release branch with this failure. Make sure that the merge's commit title does not include anything like `[DO NOT MERGE]`, and remove all the branch's commit details from the merge's commit message except for the co-author list.
117117
- [ ] Do any required smoke tests listed in the opening post in the megabranch PR.
118118
- [ ] Once smoke tests have passed, you can [unfreeze the repos](https://github.com/github/docs-content/blob/main/docs-content-docs/docs-content-workflows/freezing.md) and post an announcement in Slack.
119-
- [ ] After unfreezing, push the search index LFS objects for the public `github/docs` repo. The LFS objects were already being pushed for the internal repo after the `sync-english-index-for-<PLAN@RELEASE>` was added to the megabranch. To push the LFS objects, run the [search sync workflow](https://github.com/github/docs-internal/actions/workflows/sync-search-indices.yml) with the following inputs:
119+
- [ ] After unfreezing, push the search index LFS objects for the public `github/docs` repo. The LFS objects were already being pushed for the internal repo after the `sync-english-index-for-<PLAN@RELEASE>` was added to the megabranch. To push the LFS objects, run the [search sync workflow](https://github.com/github/docs-internal/actions/workflows/sync-search-indices.yml). Once you're there, click on `Run workflow` button. A modal will pop up where you can set the following inputs:
120+
Branch: The new version megabranch you're working on
120121
version: `enterprise-server@<RELEASE>`
121122
language: `en`
122123
- [ ] After unfreezing, if there were significant or highlighted GraphQL changes in the release, consider manually running the [GraphQL update workflow](https://github.com/github/docs-internal/actions/workflows/update-graphql-files.yml) to update our GraphQL schemas. By default this workflow only runs once every 24 hours.

.github/actions-scripts/openapi-schema-branch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const changedFiles = execSync('git diff --name-only HEAD').toString()
3636
if (changedFiles !== '') {
3737
console.log(`These files were changed:\n${changedFiles}`)
3838
console.log(
39-
`🚧⚠️ Your decorated and dereferenced schema files don't match. Ensure you're using decorated and dereferenced schemas from the automatically created pull requests by the 'github-openapi-bot' user. \n\n If this test is failing after updates to the script/rest directory, run script/rest/update-files.js --decorate-only to re-generate the decorated files from the existing dereferenced files and check those in. \n\n If this test is failing after an update to a package, check the changes the new package makes to the decorated files by running script/rest/update-files.js --decorate-only. If the changes are small style changes that don't impact the overall experience, check the updated decorated file in. Otherwise, more work may be needed to be compatible with the updated package. \n\n For more information, see 'script/rest/README.md'. 🛑`
39+
`🚧⚠️ Your decorated and dereferenced schema files don't match. Ensure you're using decorated and dereferenced schemas from the automatically created pull requests by the 'github-openapi-bot' user. \n\n If this test is failing after updates to the script/rest directory, run script/rest/update-files.js --decorate-only to re-generate the decorated files from the existing dereferenced files and check those in. \n\n If this test is failing after an update to a package, check the changes the new package makes to the decorated files by running script/rest/update-files.js --decorate-only.\n\nIf you updated script/rest/utils/rest-api-overrides.json, you'll need to run script/rest/update-files.js --decorate-only to regenerate the decorated file and redirects file (check in the changed lib/rest/static/decorated files).\n\nIf the changes are small style changes that don't impact the overall experience, check the updated decorated file in. Otherwise, more work may be needed to be compatible with the updated package. \n\n For more information, see 'script/rest/README.md'. 🛑`
4040
)
4141
process.exit(1)
4242
}

.github/actions-scripts/prod-deploy.js

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/actions-scripts/prune-for-preview-env.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ mkdir translations
2020
# front-matter will be at play.
2121
# These static redirects json files are notoriously large
2222
echo '[]' > lib/redirects/static/archived-frontmatter-fallbacks.json
23-
echo '{}' > lib/redirects/static/developer.json
2423
echo '{}' > lib/redirects/static/archived-redirects-from-213-to-217.json

.github/actions-scripts/staging-commit-status-success.js

Lines changed: 0 additions & 42 deletions
This file was deleted.

.github/actions-scripts/staging-deploy.js

Lines changed: 0 additions & 55 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ updates:
33
- package-ecosystem: npm
44
directory: '/'
55
schedule:
6-
interval: monthly
6+
interval: weekly
7+
day: tuesday
78
open-pull-requests-limit: 20 # default is 5
89
ignore:
910
- dependency-name: '*'
@@ -13,7 +14,8 @@ updates:
1314
- package-ecosystem: 'github-actions'
1415
directory: '/'
1516
schedule:
16-
interval: monthly
17+
interval: weekly
18+
day: wednesday
1719
ignore:
1820
- dependency-name: '*'
1921
update-types:
@@ -22,7 +24,8 @@ updates:
2224
- package-ecosystem: 'docker'
2325
directory: '/'
2426
schedule:
25-
interval: monthly
27+
interval: weekly
28+
day: thursday
2629
ignore:
2730
- dependency-name: '*'
2831
update-types:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/stale@7fb802b3079a276cf3c7e6ba9aa003c665b3f838
20+
- uses: actions/stale@3cc123766321e9f15a6676375c154ccffb12a358
2121
with:
2222
repo-token: ${{ secrets.GITHUB_TOKEN }}
2323
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity.'

0 commit comments

Comments
 (0)