-
Notifications
You must be signed in to change notification settings - Fork 61.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'github:main' into main
- Loading branch information
Showing
5,251 changed files
with
2,357,754 additions
and
2,872,223 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Install CocoFix | ||
|
||
description: Installs the private package `@github/cocofix` from the GitHub Package Registry. | ||
|
||
inputs: | ||
token: | ||
description: PAT | ||
required: true | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Install CoCoFix | ||
shell: bash | ||
env: | ||
TOKEN: ${{ inputs.token }} | ||
run: | | ||
npm install --no-save \ | ||
'--@github:registry=https://npm.pkg.github.com' \ | ||
'--//npm.pkg.github.com/:_authToken=${TOKEN}' \ | ||
@github/cocofix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Warmup pageinfo cache | ||
|
||
description: Run this to create a .pageinfo-cache.json.br file | ||
|
||
inputs: | ||
restore-only: | ||
description: Only attempt to restore, don't warm up | ||
required: false | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
# The caching technique here is to "unboundedly" add to the cache. | ||
# By unboundedly, it means the cached item will grow and grow. | ||
# The general idea is that we A) restore from cache, B) replace the | ||
# file by running the script, and C) save the file back to cache. | ||
# Optionally, you can have it just do A (and not B and C). | ||
|
||
- name: Cache .pageinfo-cache.json.br (restore) | ||
# You can't use a SHA on these. Only possible with `actions/cache@SHA...` | ||
uses: actions/cache/restore@v3 | ||
with: | ||
path: .pageinfo-cache.json.br | ||
key: pageinfo-cache- | ||
restore-keys: pageinfo-cache- | ||
|
||
# When we use this composite action from the workflows like | ||
# Azure Preview Deploy and Azure Production Deploy, we don't have | ||
# any Node installed or any of its packages. I.e. we never | ||
# run `npm ci` in those actions. For security sake. | ||
# So we can't do things that require Node code. | ||
# Tests and others will omit the `restore-only` input, but | ||
# prepping for Docker build and push, will set it to a non-empty | ||
# string which basically means "If you can restore it, great. | ||
# If not, that's fine, don't bother". | ||
- name: Run script | ||
if: ${{ inputs.restore-only == '' }} | ||
shell: bash | ||
run: npm run precompute-pageinfo -- --max-versions 2 | ||
|
||
- name: Cache .remotejson-cache (save) | ||
if: ${{ inputs.restore-only == '' }} | ||
uses: actions/cache/save@v3 | ||
with: | ||
path: .pageinfo-cache.json.br | ||
key: pageinfo-cache-${{ github.sha }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Branch Protection Settings | ||
|
||
This directory is mean to store a dump of the branch protections rules we have set in this repo. They are used by a workflow to compare against what is actually in settings in order to alert to changes. |
Oops, something went wrong.