Merge branch 'main' into fix/#14959
@@ -116,7 +116,8 @@ This file should be automatically updated, but you can also run `script/update-e
|
||||
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.
|
||||
- [ ] Do any required smoke tests listed in the opening post in the megabranch PR.
|
||||
- [ ] 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.
|
||||
- [ ] 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:
|
||||
- [ ] 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:
|
||||
Branch: The new version megabranch you're working on
|
||||
version: `enterprise-server@<RELEASE>`
|
||||
language: `en`
|
||||
- [ ] 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.
|
||||
|
||||
@@ -36,7 +36,7 @@ const changedFiles = execSync('git diff --name-only HEAD').toString()
|
||||
if (changedFiles !== '') {
|
||||
console.log(`These files were changed:\n${changedFiles}`)
|
||||
console.log(
|
||||
`🚧⚠️ 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'. 🛑`
|
||||
`🚧⚠️ 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'. 🛑`
|
||||
)
|
||||
process.exit(1)
|
||||
}
|
||||
|
||||
@@ -20,5 +20,4 @@ mkdir translations
|
||||
# front-matter will be at play.
|
||||
# These static redirects json files are notoriously large
|
||||
echo '[]' > lib/redirects/static/archived-frontmatter-fallbacks.json
|
||||
echo '{}' > lib/redirects/static/developer.json
|
||||
echo '{}' > lib/redirects/static/archived-redirects-from-213-to-217.json
|
||||
|
||||
9
.github/dependabot.yml
vendored
@@ -3,7 +3,8 @@ updates:
|
||||
- package-ecosystem: npm
|
||||
directory: '/'
|
||||
schedule:
|
||||
interval: monthly
|
||||
interval: weekly
|
||||
day: tuesday
|
||||
open-pull-requests-limit: 20 # default is 5
|
||||
ignore:
|
||||
- dependency-name: '*'
|
||||
@@ -13,7 +14,8 @@ updates:
|
||||
- package-ecosystem: 'github-actions'
|
||||
directory: '/'
|
||||
schedule:
|
||||
interval: monthly
|
||||
interval: weekly
|
||||
day: wednesday
|
||||
ignore:
|
||||
- dependency-name: '*'
|
||||
update-types:
|
||||
@@ -22,7 +24,8 @@ updates:
|
||||
- package-ecosystem: 'docker'
|
||||
directory: '/'
|
||||
schedule:
|
||||
interval: monthly
|
||||
interval: weekly
|
||||
day: thursday
|
||||
ignore:
|
||||
- dependency-name: '*'
|
||||
update-types:
|
||||
|
||||
2
.github/workflows/autoupdate-branch.yml
vendored
@@ -45,7 +45,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
@@ -34,7 +34,7 @@ permissions:
|
||||
|
||||
# This allows one deploy workflow to interrupt another
|
||||
concurrency:
|
||||
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label }}'
|
||||
group: 'preview-env @ ${{ github.head_ref || github.run_id }} for ${{ github.event.number || github.event.inputs.PR_NUMBER }}'
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -19,6 +19,11 @@ on:
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
# This allows one deploy workflow to interrupt another
|
||||
concurrency:
|
||||
group: 'preview-env @ ${{ github.head_ref || github.run_id }} for ${{ github.event.number || github.event.inputs.PR_NUMBER }}'
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
destory-azure-preview-env:
|
||||
name: Destroy
|
||||
|
||||
8
.github/workflows/browser-test.yml
vendored
@@ -42,7 +42,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
@@ -59,11 +59,5 @@ jobs:
|
||||
path: .next/cache
|
||||
key: ${{ runner.os }}-nextjs-${{ hashFiles('package*.json') }}
|
||||
|
||||
- name: Cache lib/redirects/.redirects-cache_en_ja.json
|
||||
uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed
|
||||
with:
|
||||
path: lib/redirects/.redirects-cache_en_ja.json
|
||||
key: ${{ runner.os }}-redirects-cache-${{ hashFiles('.github/workflows/browser-test.yml') }}
|
||||
|
||||
- name: Run browser-test
|
||||
run: npm run browser-test
|
||||
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
- name: npm ci
|
||||
run: npm ci
|
||||
|
||||
@@ -44,7 +44,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Install Node.js dependencies
|
||||
|
||||
2
.github/workflows/code-lint.yml
vendored
@@ -39,7 +39,7 @@ jobs:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
@@ -59,7 +59,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Install temporary dependencies
|
||||
|
||||
@@ -118,7 +118,7 @@ jobs:
|
||||
- name: 'Setup node'
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: '16'
|
||||
node-version: 16.14.x
|
||||
|
||||
- run: npm ci
|
||||
|
||||
|
||||
2
.github/workflows/crowdin-cleanup.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
2
.github/workflows/docs-review-collect.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
2
.github/workflows/enterprise-dates.yml
vendored
@@ -41,7 +41,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Install Node.js dependencies
|
||||
|
||||
@@ -40,7 +40,7 @@ jobs:
|
||||
name: Update English index for new GHES release
|
||||
# Skip this check if the event originated from Docubot, to prevent
|
||||
# infinite runs when Docubot checks in the search indexes in this workflow
|
||||
if: github.repository == 'github/docs-internal' && github.event.sender.login != 'Docubot'
|
||||
if: github.repository == 'github/docs-internal' && github.event.sender.login != 'Docubot' && github.actor != 'dependabot[bot]'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout
|
||||
@@ -52,7 +52,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
@@ -19,7 +19,7 @@ permissions:
|
||||
jobs:
|
||||
first-responder-triage-pr:
|
||||
name: Triage PR to FR project board
|
||||
if: github.repository == 'github/docs-internal' && github.event.pull_request.draft == false && github.event.action != 'unlabeled' && github.event.action != 'closed'
|
||||
if: github.repository == 'github/docs-internal' && github.event.pull_request.draft == false && github.event.action != 'unlabeled' && github.event.action != 'closed' && github.actor != 'dependabot[bot]'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@@ -66,7 +66,7 @@ jobs:
|
||||
|
||||
first-responder-remove-pr:
|
||||
name: Remove PR from FR project board
|
||||
if: github.repository == 'github/docs-internal' && ((github.event.label.name == 'docs-content-fr' && github.event.action == 'unlabeled') || github.event.action == 'closed')
|
||||
if: github.repository == 'github/docs-internal' && ((github.event.label.name == 'docs-content-fr' && github.event.action == 'unlabeled') || github.event.action == 'closed') && github.actor != 'dependabot[bot]'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
run: |
|
||||
gh pr comment $PR --body "Thanks so much for opening this PR and contributing to GitHub Docs!
|
||||
|
||||
- When you're ready for the Docs team to review this PR, request a review by *docs-content* and your PR will be added to the [Docs Content review board](https://github.com/orgs/github/memexes/901?layout=table&groupedBy%5BcolumnId%5D=11024). **Please factor in at least 72 hours for a review, even longer if this is a substantial change.**
|
||||
- When you're ready for the Docs team to review this PR, add the *ready-for-doc-review* label to your PR to the [Docs Content review board](https://github.com/orgs/github/memexes/901?layout=table&groupedBy%5BcolumnId%5D=11024). **Please factor in at least 72 hours for a review, even longer if this is a substantial change.**
|
||||
- If this is a major update to the docs, you might want to go back and open an [issue](https://github.com/github/docs-content/issues/new/choose) to ensure we've covered all areas of the docs in these updates. Not doing so may result in delays or inaccurate documentation."
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
2
.github/workflows/link-check-all.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Install
|
||||
|
||||
2
.github/workflows/open-enterprise-issue.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
2
.github/workflows/openapi-decorate.yml
vendored
@@ -41,7 +41,7 @@ jobs:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
2
.github/workflows/openapi-schema-check.yml
vendored
@@ -44,7 +44,7 @@ jobs:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
44
.github/workflows/optimize-images.yml
vendored
@@ -6,28 +6,47 @@ name: Optimize images
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '45 17 * * 2' # Run Tuesdays at 17:45 UTC / 9:45 PST
|
||||
pull_request:
|
||||
paths:
|
||||
- '**/*.png'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
optimize-images:
|
||||
if: github.repository == 'github/docs-internal'
|
||||
optimize-images-on-pr:
|
||||
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repo
|
||||
- name: Check out repo on head ref
|
||||
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
|
||||
- name: Check out base ref
|
||||
run: git fetch --no-tags --depth=1 origin $GITHUB_BASE_REF
|
||||
|
||||
- name: Install the Optipng package
|
||||
run: sudo apt-get update && sudo apt-get -y install optipng
|
||||
|
||||
- name: Run the Optipng package
|
||||
run: find . -name '*.png' -print0 | xargs -0 optipng -nx
|
||||
- name: Run optipng on new or changed images
|
||||
run: |
|
||||
set -e # exit when any command fails
|
||||
|
||||
- name: Make a branch, commit, push, and pull request
|
||||
echo "Ensure we can view $GITHUB_BASE_REF"
|
||||
git checkout $GITHUB_BASE_REF
|
||||
|
||||
echo "Ensure we can view $GITHUB_HEAD_REF"
|
||||
git checkout $GITHUB_HEAD_REF
|
||||
|
||||
echo "List the files that changed"
|
||||
git diff --name-only --diff-filter=d $GITHUB_BASE_REF $GITHUB_HEAD_REF
|
||||
|
||||
echo "Run optipng on pngs in from the diff"
|
||||
git diff --name-only -z --diff-filter=d $GITHUB_BASE_REF $GITHUB_HEAD_REF -- '*.png' | xargs -0 optipng -nx
|
||||
|
||||
- name: Make a commit and a push
|
||||
run: |
|
||||
echo "If there's no changes, exit"
|
||||
if [[ ! `git status --porcelain` ]]
|
||||
@@ -36,10 +55,6 @@ jobs:
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo "Make a new branch"
|
||||
BRANCH="optimize-images-$(date +'%Y%m%d%H%M%S')"
|
||||
git checkout -b $BRANCH
|
||||
|
||||
echo "Make a commit"
|
||||
git config user.name github-actions
|
||||
git config user.email github-actions@github.com
|
||||
@@ -47,9 +62,6 @@ jobs:
|
||||
git commit --message="Optimize images"
|
||||
|
||||
echo "Push up changes"
|
||||
git push --set-upstream origin $BRANCH
|
||||
|
||||
echo "Open a pull request"
|
||||
gh pr create --title "Optimize images" --body "Optimize images" --reviewer "@github/docs-engineering"
|
||||
git push
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
2
.github/workflows/orphaned-assets-check.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Install
|
||||
|
||||
2
.github/workflows/os-ready-for-review.yml
vendored
@@ -49,7 +49,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
2
.github/workflows/pa11y.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
2
.github/workflows/package-lock-lint.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.x
|
||||
node-version: 16.14.x
|
||||
|
||||
- name: Run check
|
||||
run: |
|
||||
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
environment:
|
||||
name: production-azure
|
||||
name: production
|
||||
url: 'https://docs.github.com'
|
||||
env:
|
||||
DOCKER_IMAGE: ${{ secrets.PROD_REGISTRY_SERVER }}/${{ github.repository }}:${{ github.sha }}
|
||||
@@ -62,7 +62,7 @@ jobs:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Clone docs-early-access
|
||||
|
||||
2
.github/workflows/ready-for-doc-review.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
2
.github/workflows/remove-unused-assets.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
- name: npm ci
|
||||
run: npm ci
|
||||
|
||||
2
.github/workflows/repo-sync.yml
vendored
@@ -104,7 +104,7 @@ jobs:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
6
.github/workflows/sync-search-indices.yml
vendored
@@ -58,7 +58,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
@@ -112,8 +112,8 @@ jobs:
|
||||
run: |
|
||||
echo 'git remote add public-docs-repo https://github.com/github/docs.git'
|
||||
git remote add public-docs-repo https://github.com/github/docs.git
|
||||
echo 'git lfs push --all public-docs-repo'
|
||||
git lfs push --all public-docs-repo
|
||||
echo 'GIT_TRANSFER_TRACE=1 GIT_CURL_VERBOSE=1 GIT_TRACE=1 git lfs push --all public-docs-repo'
|
||||
GIT_TRANSFER_TRACE=1 GIT_CURL_VERBOSE=1 GIT_TRACE=1 git lfs push --all public-docs-repo
|
||||
|
||||
- name: Send slack notification if workflow run fails
|
||||
uses: someimportantcompany/github-actions-slack-message@f8d28715e7b8a4717047d23f48c39827cacad340
|
||||
|
||||
2
.github/workflows/sync-search-pr.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
2
.github/workflows/test.yml
vendored
@@ -117,7 +117,7 @@ jobs:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
7
.github/workflows/triage-issue-comments.yml
vendored
@@ -11,7 +11,6 @@ on:
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
repository-projects: write
|
||||
|
||||
jobs:
|
||||
triage-issue-comments:
|
||||
@@ -47,9 +46,3 @@ jobs:
|
||||
with:
|
||||
add-labels: 'triage'
|
||||
ignore-if-labeled: true
|
||||
- name: Triage to project board
|
||||
uses: rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9
|
||||
with:
|
||||
action-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
project-url: 'https://github.com/github/docs/projects/1'
|
||||
column-name: 'Triage'
|
||||
|
||||
7
.github/workflows/triage-issues.yml
vendored
@@ -12,7 +12,6 @@ on:
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
repository-projects: write
|
||||
|
||||
jobs:
|
||||
triage_issues:
|
||||
@@ -24,9 +23,3 @@ jobs:
|
||||
uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90
|
||||
with:
|
||||
add-labels: 'triage'
|
||||
- name: Triage to project board
|
||||
uses: rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9
|
||||
with:
|
||||
action-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
project-url: 'https://github.com/github/docs/projects/1'
|
||||
column-name: 'Triage'
|
||||
|
||||
7
.github/workflows/triage-pull-requests.yml
vendored
@@ -13,7 +13,6 @@ on:
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
repository-projects: write
|
||||
|
||||
jobs:
|
||||
triage_pulls:
|
||||
@@ -25,9 +24,3 @@ jobs:
|
||||
uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90
|
||||
with:
|
||||
add-labels: 'triage'
|
||||
- name: Triage to project board
|
||||
uses: rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9
|
||||
with:
|
||||
action-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
project-url: 'https://github.com/github/docs/projects/1'
|
||||
column-name: 'Triage'
|
||||
|
||||
@@ -7,6 +7,7 @@ name: Check unallowed file changes
|
||||
on:
|
||||
pull_request_target:
|
||||
paths:
|
||||
- '.devcontainer/**'
|
||||
- '.github/actions-scripts/**'
|
||||
- '.github/workflows/**'
|
||||
- '.github/CODEOWNERS'
|
||||
@@ -21,6 +22,7 @@ on:
|
||||
- 'package*.json'
|
||||
- 'script/**'
|
||||
- 'translations/**'
|
||||
- 'content/actions/deployment/security-hardening-your-deployments/**'
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
@@ -53,6 +55,7 @@ jobs:
|
||||
openapi:
|
||||
- 'lib/rest/static/**'
|
||||
notAllowed:
|
||||
- '.devcontainer/**'
|
||||
- '.github/actions-scripts/**'
|
||||
- '.github/workflows/**'
|
||||
- '.github/CODEOWNERS'
|
||||
@@ -67,6 +70,7 @@ jobs:
|
||||
- 'package*.json'
|
||||
- 'scripts/**'
|
||||
- 'translations/**'
|
||||
- 'content/actions/deployment/security-hardening-your-deployments/**'
|
||||
|
||||
# When there are changes to files we can't accept, leave a comment
|
||||
# explaining this to the PR author
|
||||
@@ -76,6 +80,7 @@ jobs:
|
||||
with:
|
||||
script: |
|
||||
const badFilesArr = [
|
||||
'.devcontainer/**',
|
||||
'.github/actions-scripts/**',
|
||||
'.github/workflows/**',
|
||||
'.github/CODEOWNERS',
|
||||
@@ -90,6 +95,7 @@ jobs:
|
||||
'package*.json',
|
||||
'scripts/**',
|
||||
'translations/**',
|
||||
'content/actions/deployment/security-hardening-your-deployments/**',
|
||||
]
|
||||
|
||||
const badFiles = badFilesArr.join('\n')
|
||||
|
||||
@@ -60,7 +60,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
2
.github/workflows/update-graphql-files.yml
vendored
@@ -36,7 +36,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
node-version: 16.14.x
|
||||
cache: npm
|
||||
- name: Install Node.js dependencies
|
||||
run: npm ci
|
||||
|
||||
3
.gitignore
vendored
@@ -16,6 +16,9 @@ coverage/
|
||||
blc_output.log
|
||||
blc_output_internal.log
|
||||
broken_links.md
|
||||
lib/redirects/.redirects-cache.json
|
||||
# This one is purely for historical reasons because so many people might
|
||||
# still have thes files on their disk.
|
||||
lib/redirects/.redirects-cache_*.json
|
||||
|
||||
# During the preview deploy untrusted user code may be cloned into this directory
|
||||
|
||||
@@ -46,7 +46,6 @@ COPY stylesheets ./stylesheets
|
||||
COPY pages ./pages
|
||||
COPY components ./components
|
||||
COPY lib ./lib
|
||||
|
||||
# One part of the build relies on this content file to pull all-products
|
||||
COPY content/index.md ./content/index.md
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 146 KiB After Width: | Height: | Size: 138 KiB |
|
Before Width: | Height: | Size: 488 KiB After Width: | Height: | Size: 464 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 95 KiB |
|
After Width: | Height: | Size: 50 KiB |
BIN
assets/images/enterprise/stafftools/recreate-organization.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
assets/images/enterprise/stafftools/search-field.png
Normal file
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 31 KiB |
BIN
assets/images/enterprise/support/health-check-dialog-ea.png
Normal file
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 149 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 53 KiB |
BIN
assets/images/help/billing/pay-now-button-disabled.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
assets/images/help/billing/pay-now-button.png
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
assets/images/help/billing/payment-summary-edit.png
Normal file
|
After Width: | Height: | Size: 120 KiB |
BIN
assets/images/help/billing/payment-summary.png
Normal file
|
After Width: | Height: | Size: 93 KiB |
|
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 86 KiB |
BIN
assets/images/help/codespaces/configure-SSO-for-PAT.png
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
assets/images/help/codespaces/prebuilds-choose-branch.png
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
assets/images/help/codespaces/prebuilds-delete.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
assets/images/help/codespaces/prebuilds-edit.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
assets/images/help/codespaces/prebuilds-log-output.png
Normal file
|
After Width: | Height: | Size: 131 KiB |
BIN
assets/images/help/codespaces/prebuilds-manually-trigger.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
assets/images/help/codespaces/prebuilds-regions.png
Normal file
|
After Width: | Height: | Size: 57 KiB |
BIN
assets/images/help/codespaces/prebuilds-see-output.png
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
assets/images/help/codespaces/prebuilds-select-scopes.png
Normal file
|
After Width: | Height: | Size: 93 KiB |
BIN
assets/images/help/codespaces/prebuilds-set-up.png
Normal file
|
After Width: | Height: | Size: 58 KiB |
BIN
assets/images/help/codespaces/prebuilds-view-runs.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
assets/images/help/codespaces/prebuilds-workflow-runs.png
Normal file
|
After Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 35 KiB |
BIN
assets/images/help/commits/commit-branch-indicator.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
assets/images/help/commits/commit-message-link.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
assets/images/help/commits/commit-tag-label.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
assets/images/help/commits/commits-page.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 121 KiB After Width: | Height: | Size: 226 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 73 KiB |
BIN
assets/images/help/education/reverify-academic-affiliation.png
Normal file
|
After Width: | Height: | Size: 111 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 119 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 23 KiB |