Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
154 commits
Select commit Hold shift + click to select a range
6a02c74
initial versioning changes
jules-p Nov 17, 2021
0582c82
further versioning and image update
jules-p Nov 17, 2021
4b8a58a
version about-repositories
jules-p Nov 18, 2021
2e2a333
more ghec versioning in repo docset
jules-p Nov 18, 2021
0695a46
more ghec versioning in repo docset
jules-p Nov 18, 2021
22ee4f1
Merge branch 'main' into jules-4510
jules-p Nov 18, 2021
97cd35f
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Nov 18, 2021
8da8cd6
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Nov 18, 2021
4043dbc
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Nov 18, 2021
22e11d1
Merge branch 'jules-4510' of github.com:github/docs-internal into jul…
jules-p Nov 22, 2021
8784220
versions internal repo out of fpt table
jules-p Nov 22, 2021
1234426
Versions internal repo out of search filter articles for FPT
jules-p Nov 23, 2021
b24f9f4
more versioning for internal repos
jules-p Nov 23, 2021
b3f4c16
more internal repo versioning
jules-p Nov 23, 2021
68b1bfb
creates internal repo version and adds to articles
jules-p Nov 24, 2021
42a1190
minor rewording
jules-p Nov 24, 2021
f013c43
Merge branch 'main' into jules-4510
jules-p Nov 24, 2021
1a9dfbb
simplify versioning in about wikis
jules-p Nov 24, 2021
f0d630a
Merge branch 'jules-4510' of github.com:github/docs-internal into jul…
jules-p Nov 24, 2021
361b662
Merge branch 'main' into jules-4510
jules-p Nov 24, 2021
1de338c
fix feature versioning syntax
jules-p Nov 24, 2021
d54a980
Merge branch 'jules-4510' of github.com:github/docs-internal into jul…
jules-p Nov 24, 2021
1591912
Merge branch 'main' into jules-4510
jules-p Nov 24, 2021
310595f
fix versioning syntax
jules-p Nov 24, 2021
a1a846a
Merge branch 'main' into jules-4510
jules-p Nov 25, 2021
1b65a1f
version based versioning
jules-p Nov 25, 2021
2a98e5a
Merge branch 'main' into jules-4510
mattpollard Nov 26, 2021
975fc1c
Update content/authentication/keeping-your-account-and-data-secure/co…
jules-p Nov 29, 2021
7dbf99a
Update content/code-security/security-overview/about-the-security-ove…
jules-p Nov 29, 2021
bf1077c
Update content/developers/apps/building-oauth-apps/scopes-for-oauth-a…
jules-p Nov 29, 2021
6375748
Update content/developers/apps/building-oauth-apps/scopes-for-oauth-a…
jules-p Nov 29, 2021
e0c1c65
Update content/developers/apps/building-oauth-apps/scopes-for-oauth-a…
jules-p Nov 29, 2021
fffab70
Update content/developers/apps/building-oauth-apps/scopes-for-oauth-a…
jules-p Nov 29, 2021
b12da8d
Update content/organizations/managing-membership-in-your-organization…
jules-p Nov 29, 2021
5860584
Update content/organizations/managing-organization-settings/managing-…
jules-p Nov 29, 2021
236a831
Update content/organizations/managing-organization-settings/restricti…
jules-p Nov 29, 2021
aeffbdd
Update data/reusables/github-actions/private-repository-forks-overvie…
jules-p Nov 29, 2021
d1f3da7
Update content/search-github/searching-on-github/searching-discussion…
jules-p Nov 29, 2021
69c57be
Update content/repositories/creating-and-managing-repositories/about-…
jules-p Nov 29, 2021
f4806b3
Update content/repositories/managing-your-repositorys-settings-and-fe…
jules-p Nov 29, 2021
0286d46
Delete internal-repositories.yml
jules-p Nov 29, 2021
5fe7705
Update content/rest/guides/discovering-resources-for-a-user.md
jules-p Nov 29, 2021
c456b91
incorporate feedback from matt
jules-p Nov 29, 2021
e4365c7
fixed typo
jules-p Nov 29, 2021
7224fa3
Merge branch 'main' into jules-4510
jules-p Nov 29, 2021
ea29dc1
fix broken links
jules-p Nov 29, 2021
6ed438b
Merge branch 'jules-4510' of github.com:github/docs-internal into jul…
jules-p Nov 29, 2021
5f2d621
make release-notes tests not depend on real network (#23196)
Nov 30, 2021
639debe
actions: update "understanding github actions" (#23201)
Nov 30, 2021
3ca4b73
update to bold instead of yellow highlighting (#23244)
gracepark Nov 30, 2021
038fc88
only run browser tests when JS is changing (#23080)
Nov 30, 2021
e40969e
Merge branch 'main' into repo-sync
Octomerger Nov 30, 2021
67555d7
Merge pull request #23245 from github/repo-sync
Octomerger Nov 30, 2021
f07743f
Delete yml-lint.yml (#23225)
heiskr Nov 30, 2021
29f8e80
HomePage Component Updates (#23251)
gracepark Dec 1, 2021
ae22e18
Use ActionList for ArticleList (#23252)
rsese Dec 1, 2021
5d329ed
Change ownership of files (#23249)
mjacobus Dec 1, 2021
a8cdfee
Merge branch 'main' into repo-sync
Octomerger Dec 1, 2021
672cffa
Merge pull request #23255 from github/repo-sync
Octomerger Dec 1, 2021
3c6f09d
update search indexes
actions-user Dec 1, 2021
0cc679b
Update OpenAPI Descriptions (#23243)
github-openapi-bot Dec 1, 2021
b4d15cd
Update OpenAPI Descriptions (#23259)
github-openapi-bot Dec 1, 2021
4ff6983
Merge branch 'main' into repo-sync
Octomerger Dec 1, 2021
8f083c7
Merge pull request #23260 from github/repo-sync
Octomerger Dec 1, 2021
40fbb84
Merge branch 'main' into jules-4510
jules-p Dec 1, 2021
171dde4
Update "Submitting a ticket"
guntrip Dec 1, 2021
289964e
update search indexes
actions-user Dec 1, 2021
1ad2e48
Merge branch 'main' into jules-4510
jules-p Dec 1, 2021
11320e0
Merge pull request #22909 from github/jules-4510
jules-p Dec 1, 2021
4996edb
Update outdated version information (#23236)
lecoursen Dec 1, 2021
814ae6b
Add crowdin_language to matrix (#23254)
mjacobus Dec 1, 2021
b67bd85
Override border-radius (#23271)
rsese Dec 1, 2021
0f9cc3a
Size emoji images outside procedurals (#23273)
heiskr Dec 1, 2021
c9b2fe5
New translation batch for pt (#23274)
docubot Dec 1, 2021
8c9e2d6
update search indexes
actions-user Dec 1, 2021
7c2739e
New translation batch for es (#23276)
docubot Dec 1, 2021
1c4d326
Make the staging files, for deployments, as lean as possible (#23049)
Dec 1, 2021
14d01ee
New translation batch for cn (#23281)
docubot Dec 1, 2021
089c963
Update site-policy-sync.yml (#23248)
khxu Dec 1, 2021
ca1f07b
Add empty commit (#23261)
mattpollard Dec 1, 2021
daa4521
New translation batch for es (#23282)
docubot Dec 1, 2021
46f4d7d
Add docubot to the exception list for FR (#23278)
mjacobus Dec 1, 2021
1cc3771
New translation batch for ja (#23284)
docubot Dec 1, 2021
0901e7d
Updates GHES template per 5367 (#23258)
vgrl Dec 1, 2021
0435963
[GHES 3.3] release note update: adding a note for change to impact on…
pulkitaggarwl Dec 1, 2021
37b311d
Actionlist-ify ProductArticleList (#23280)
rsese Dec 1, 2021
d98af05
unbreak React unique key prop warning (#23279)
Dec 1, 2021
8e1508d
remove crowdin-support hack (#23231)
Dec 1, 2021
93a11d5
prettier release date on enterprise release logs (#23288)
Dec 1, 2021
2c9ea3b
[Dec 1] Adding codespaces dotfile configuration docs (#22926)
asciimike Dec 1, 2021
1ab125d
draw title from first H1 only (#23266)
Dec 1, 2021
9318e13
Bump @types/uuid from 8.3.1 to 8.3.3 (#23291)
dependabot[bot] Dec 1, 2021
ecdfb5e
Bump linkinator from 2.16.1 to 2.16.2 (#23306)
dependabot[bot] Dec 1, 2021
600b76a
Bump @babel/plugin-transform-runtime from 7.16.0 to 7.16.4 (#23304)
dependabot[bot] Dec 1, 2021
983729d
Bump prettier from 2.4.1 to 2.5.0 (#23303)
dependabot[bot] Dec 2, 2021
935db5a
Bump babel-plugin-styled-components from 1.13.3 to 2.0.2 (#23311)
dependabot[bot] Dec 2, 2021
7665b2b
Bump jest from 27.3.1 to 27.4.3 (#23305)
dependabot[bot] Dec 2, 2021
e97a427
Merge branch 'main' into repo-sync
Octomerger Dec 2, 2021
03f4c04
Merge pull request #23318 from github/repo-sync
Octomerger Dec 2, 2021
e2989f2
Bump @types/js-cookie from 3.0.0 to 3.0.1 (#23308)
dependabot[bot] Dec 2, 2021
7a4e8ed
update search indexes
actions-user Dec 2, 2021
29cca13
Bump eslint-plugin-promise from 5.1.1 to 5.2.0 (#23294)
dependabot[bot] Dec 2, 2021
283348f
Bump postcss from 8.3.11 to 8.4.4 (#23317)
dependabot[bot] Dec 2, 2021
ba2e06a
Update OpenAPI Descriptions (#23277)
github-openapi-bot Dec 2, 2021
014c24d
use got to send to Hydro (#23286)
Dec 2, 2021
3f2079a
Update release notes (#23322)
mattpollard Dec 2, 2021
8fce81b
Remove "public" in relation to dotfiles for codespaces (#23321)
hubwriter Dec 2, 2021
66dc5d9
update search indexes
actions-user Dec 2, 2021
fc9b11d
Add guide to increase resources for GHES on Azure (#23263)
malantin Dec 2, 2021
4771c66
Bump react-markdown from 7.1.0 to 7.1.1 (#23307)
dependabot[bot] Dec 2, 2021
3463f18
Bump cookie-parser from 1.4.5 to 1.4.6 (#23302)
dependabot[bot] Dec 2, 2021
95edf7b
Bump actions/setup-node from 2.4.1 to 2.5.0 (#23293)
dependabot[bot] Dec 2, 2021
a407ae9
Bump @github/failbot from 0.7.0 to 0.8.0 (#23299)
dependabot[bot] Dec 2, 2021
0dc6736
Bump chalk from 4.1.2 to 5.0.0 (#23292)
dependabot[bot] Dec 2, 2021
038e818
Bump actions/checkout from 2.3.5 to 2.4.0 (#23297)
dependabot[bot] Dec 2, 2021
52941ee
Bump swr from 1.0.1 to 1.1.0 (#23309)
dependabot[bot] Dec 2, 2021
ae4675c
Improve triage stale workflows on docs repo (#22923)
ramyaparimi Dec 2, 2021
066e076
Actions: `runs.using` can now specify `node16` (#22911)
Dec 2, 2021
012881b
Document codespaces timeout setting (#23107)
Dec 2, 2021
913b761
Measure how much proxying we're doing (#23175)
Dec 2, 2021
5983137
update search indexes
actions-user Dec 2, 2021
4ff5167
Updating name: sublanding to guides and using DropdownMenu for type/t…
gracepark Dec 2, 2021
2601464
Massive DIFF_FILES crashes bash in repo-sync (#23326)
Dec 2, 2021
ea4a5f1
Bump commander from 8.2.0 to 8.3.0 (#22379)
dependabot[bot] Dec 2, 2021
9d79148
ActionList for LearningTracks (#23335)
rsese Dec 2, 2021
8931793
updating table-of-contents pages with actionlist (#23338)
gracepark Dec 2, 2021
bc51744
New translation batch for es (#23337)
docubot Dec 2, 2021
acb6960
New translation batch for pt (#23336)
docubot Dec 2, 2021
70d7c01
Skip for repo sync PRs (#23341)
rsese Dec 2, 2021
dbe9d5c
Bump eslint from 7.32.0 to 8.3.0 (#23312)
dependabot[bot] Dec 2, 2021
33f3dcc
Bump ajv from 8.7.1 to 8.8.2 (#23316)
dependabot[bot] Dec 2, 2021
4e195df
Bump lint-staged from 11.2.6 to 12.1.2 (#23314)
dependabot[bot] Dec 2, 2021
9189b84
New translation batch for ja (#23343)
docubot Dec 2, 2021
e9ae252
New translation batch for cn (#23340)
docubot Dec 2, 2021
d79f78c
Refactor developer site redirects test (#23342)
heiskr Dec 2, 2021
5b74a7d
Update permissions-required-for-github-apps.md (#21300)
Aerendel Dec 3, 2021
52893a6
Sunset content attachments (#23285)
Dec 3, 2021
cd1bc42
Merge branch 'main' into repo-sync
Octomerger Dec 3, 2021
055c03c
Merge pull request #23344 from github/repo-sync
Octomerger Dec 3, 2021
21d4d28
update search indexes
actions-user Dec 3, 2021
cc37aad
update search indexes
actions-user Dec 3, 2021
d6d8f33
Update CTA button text (#23333)
lecoursen Dec 3, 2021
cc93ee2
Revert "Bump eslint from 7.32.0 to 8.3.0 (#23312)" (#23351)
Dec 3, 2021
3b49be8
Bump mdast-util-from-markdown from 1.0.4 to 1.2.0 (#23301)
dependabot[bot] Dec 3, 2021
1d9e268
Bump @primer/components from 31.1.0 to 32.1.0 (#23300)
dependabot[bot] Dec 3, 2021
2e20871
Merge branch 'main' into repo-sync
Octomerger Dec 3, 2021
cd074d3
Merge pull request #23356 from github/repo-sync
Octomerger Dec 3, 2021
413fbfb
update search indexes
actions-user Dec 3, 2021
fcb7334
[GHEC version] Version content about GitHub Actions (#23257)
ethanpalm Dec 3, 2021
bb7e9eb
remove documentation after sunset of DAR (#23270)
chriskirkland Dec 3, 2021
046de16
fix TypeScript violation with Overlay in @primer/components@32.1.0 (#…
Dec 3, 2021
269794d
Merge branch 'main' into repo-sync
Octomerger Dec 3, 2021
7e643eb
Merge pull request #23363 from github/repo-sync
Octomerger Dec 3, 2021
fae539f
Update release-notes.js
heiskr Dec 3, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ package-lock.json @github/docs-engineering
package.json @github/docs-engineering

# Localization
/.github/workflows/create-translation-batch-pr.yml @github/docs-localization
/.github/workflows/crowdin.yml @github/docs-localization
/crowdin*.yml @github/docs-engineering @github/docs-localization
/translations/ @github/docs-engineering @github/docs-localization @github-actions
/translations/log/ @github/docs-localization

# Site Policy
/content/github/site-policy/ @github/site-policy-admins
Expand Down
63 changes: 63 additions & 0 deletions .github/actions-scripts/compress-large-files.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
#!/usr/bin/env node

import path from 'path'
import fs from 'fs'
import zlib from 'zlib'
import walk from 'walk-sync'

const DRY_RUN = Boolean(JSON.parse(process.env.DRY_RUN || 'false'))
// Roughly 100KiB means about 25 files at the moment.
// Set this too low and the overheads will be more than the disk and
// network I/O that this intends to serve.
const MIN_GZIP_SIZE = Number(process.env.MIN_GZIP_SIZE || 1024 * 100)

const BROTLI_OPTIONS = {
params: {
[zlib.constants.BROTLI_PARAM_MODE]: zlib.constants.BROTLI_MODE_TEXT,
[zlib.constants.BROTLI_PARAM_QUALITY]: 6,
},
}
main()

async function main() {
compressFromPattern('lib/**/static/**/*.json')
}

async function compressFromPattern(pattern) {
const glob = pattern.includes('*') ? pattern.split(path.sep).slice(1).join(path.sep) : undefined
const walkOptions = {
globs: glob ? [glob] : undefined,
directories: false,
includeBasePath: true,
}
const root = path.resolve(pattern.includes('*') ? pattern.split(path.sep)[0] : pattern)
const filePaths = walk(root, walkOptions).filter((filePath) => {
return fs.statSync(filePath).size > MIN_GZIP_SIZE
})

if (!DRY_RUN) {
console.time(`Compress ${filePaths.length} files`)
const compressed = await Promise.all(filePaths.map(compressFile))
console.timeEnd(`Compress ${filePaths.length} files`)

console.time(`Delete ${compressed.length} files`)
compressed.forEach((filePath) => fs.unlinkSync(filePath))
console.timeEnd(`Delete ${compressed.length} files`)
}
}

function compressFile(filePath) {
return new Promise((resolve, reject) => {
const contentStream = fs.createReadStream(filePath)
const newFilePath = `${filePath}.br`
const writeStream = fs.createWriteStream(newFilePath)
const compressor = zlib.createBrotliCompress(BROTLI_OPTIONS)
contentStream
.pipe(compressor)
.pipe(writeStream)
.on('finish', (err) => {
if (err) return reject(err)
resolve(filePath)
})
})
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ If you aren't comfortable going through the steps alone, sync up with a docs eng
- [ ] Increment the `next` variable above the `supported` array (e.g., new release number + `.1`).
- [ ] Increment the `nextNext` variable above the `supported` array (e.g., new release number + `.2`).
- [ ] Update the GHES dates file:
- [ ] Make sure you have a `.env` file at the root directory of your local checkout, and that it contains a PAT in the format of `GITHUB_TOKEN=<token>`.
- [ ] Make sure you have a `.env` file at the root directory of your local checkout, and that it contains a PAT in the format of `GITHUB_TOKEN=<token>` with `repo` scope. Ensure the PAT is SSO-enabled for the `github` org.
- [ ] Run the script to update the dates file:

```
script/update-enterprise-dates.js
```
- [ ] Create REST files based on previous version:
- [ ] Create REST files based on previous version. For example `script/enterprise-server-releases/create-rest-files.js --oldVersion enterprise-server@3.2 --newVersion enterprise-server@3.3`:

```
script/enterprise-server-releases/create-rest-files.js --oldVersion <PLAN@RELEASE> --newVersion <PLAN@RELEASE>
Expand All @@ -33,7 +33,7 @@ If you aren't comfortable going through the steps alone, sync up with a docs eng
```
script/enterprise-server-releases/create-webhook-files.js --oldVersion <PLAN@RELEASE> --newVersion <PLAN@RELEASE>
```
- [ ] Create a placeholder release notes file called `data/release-notes/<PRODUCT>/<RELEASE NUMBER>/PLACEHOLDER.yml`. For example `data/release-notes/3-1/PLACEHOLDER.yml`. Add the following placeholder content to the file:
- [ ] Create a placeholder release notes file called `data/release-notes/<PRODUCT>/<RELEASE NUMBER>/PLACEHOLDER.yml`. For example `data/release-notes/enterprise-server/3-1/PLACEHOLDER.yml`. Add the following placeholder content to the file:

```
date: '2021-05-04'
Expand All @@ -55,6 +55,8 @@ If you aren't comfortable going through the steps alone, sync up with a docs eng
script/enterprise-server-releases/release-banner.js --action create --version <PLAN@RELEASE>
```

- [ ] Create a PR with the above changes. This PR is used to track all docs changes and smoke tests associated with the release. For example https://github.com/github/docs-internal/pull/22286.

### When the `docs-internal` release branch is open

- [ ] Add a label to the PR in this format:
Expand Down Expand Up @@ -102,7 +104,7 @@ This file should be automatically updated, but you can also run `script/update-e
Usually, we should smoke test any new GHES admin guides, any large features landing in this GHES version for the first time, and the REST and GraphQL API references.
- [ ] Alert the Neon Squad (formally docs-ecosystem team) 1-2 days before the release to deploy to `github/github`. A PR should already be open in `github/github`, to change `published` to `true` in `app/api/description/config/releases/ghes-<NEXT RELEASE NUMBER>.yaml`. They will need to:
- [ ] Get the required approval from `@github/ecosystem-api-reviewers` then deploy the PR to dotcom. This process generally takes 30-90 minutes.
- [ ] Once the PR merges, make sure that the auto-generated PR titled "Update OpenAPI Descriptions" in doc-internal contains both the derefrenced and decorated JSON files for the new GHES release. If everything looks good, merge the "Update OpenAPI Description" PR into the GHES release megabranch.
- [ ] Once the PR merges, make sure that the auto-generated PR titled "Update OpenAPI Descriptions" in doc-internal contains both the derefrenced and decorated JSON files for the new GHES release. If everything looks good, merge the "Update OpenAPI Description" PR into the GHES release megabranch. **Note:** Be careful about resolving the conflicts correctly—you may wish to delete the existing OpenAPI files for the release version from the megabranch, so there are no conflicts to resolve and to ensure that the incoming artifacts are the correct ones.
- [ ] Add a blocking review to the auto-generated "Update OpenAPI Descriptions" PR in the public REST API description. (Remove this blocking review once the GHES release ships.)
- [ ] [Freeze the repos](https://github.com/github/docs-content/blob/main/docs-content-docs/docs-content-workflows/freezing.md) at least 1-2 days before the release, and post an announcement in Slack so everybody knows.

Expand All @@ -113,8 +115,9 @@ 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.
- [ ] 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:
- [ ] 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:
version: `enterprise-server@<RELEASE>`
language: `en`
- [ ] 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 the release, in the `docs-content` repo, add the now live version number to the "Specific GHES version(s)" section in the following files: [`.github/ISSUE_TEMPLATE/release-tier-1-or-2-tracking.yml`](https://github.com/github/docs-content/blob/main/.github/ISSUE_TEMPLATE/release-tier-1-or-2-tracking.yml) and [`.github/ISSUE_TEMPLATE/release-tier-3-or-tier-4.yml`](https://github.com/github/docs-content/blob/main/.github/ISSUE_TEMPLATE/release-tier-3-or-tier-4.yml). When the PR is approved, merge it in.
- [ ] 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.
- [ ] After the release, in the `docs-content` repo, add the now live version number to the "Specific GHES version(s)" section in the following files: [`.github/ISSUE_TEMPLATE/release-tier-1-or-2-tracking.yml`](https://github.com/github/docs-content/blob/main/.github/ISSUE_TEMPLATE/release-tier-1-or-2-tracking.yml) and [`.github/ISSUE_TEMPLATE/release-tier-3-or-tier-4.yml`](https://github.com/github/docs-content/blob/main/.github/ISSUE_TEMPLATE/release-tier-3-or-tier-4.yml). When the PR is approved, merge it in.
4 changes: 2 additions & 2 deletions .github/allowed-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

export default [
'actions/cache@c64c572235d810460d0d6876e9c705ad5002b353', // v2.1.6
'actions/checkout@1e204e9a9253d643386038d443f96446fa156a97', // v2.3.5
'actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579', // v2.4.0
'actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d', // v4.0.2
'actions/labeler@5f867a63be70efff62b767459b009290364495eb', // v2.2.0
'actions/setup-node@270253e841af726300e85d718a5f606959b2903c', // v2.4.1
'actions/setup-node@04c56d2f954f1e4c69436aa54cfef261a018f458', // v2.5.0
'actions/stale@cdf15f641adb27a71842045a94023bef6945e3aa', // v4.0.0
'actions/upload-artifact@27121b0bdffd731efa15d66772be8dc71245d074', // v2.2.4
'alex-page/github-project-automation-plus@bb266ff4dde9242060e2d5418e120a133586d488', // v0.8.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/60-days-stale-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ jobs:
only-labels: 'engineering,Triaged,Improve existing docs,Core,Ecosystem'
stale-issue-label: 'stale'
stale-pr-label: 'stale'
exempt-pr-labels: 'never-stale'
exempt-pr-labels: 'never-stale,waiting for review'
exempt-issue-labels: 'never-stale,help wanted,waiting for review'
4 changes: 2 additions & 2 deletions .github/workflows/autoupdate-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo content
uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579

- name: Setup Node
uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c
uses: actions/setup-node@04c56d2f954f1e4c69436aa54cfef261a018f458
with:
node-version: 16.13.x
cache: npm
Expand Down
20 changes: 18 additions & 2 deletions .github/workflows/browser-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ on:
branches:
- main
pull_request:
paths:
- '**.js'
- '**.mjs'
- '**.ts'
- '**.tsx'
- jest.config.js
- package.json
# In case something like eslint or tsc or prettier upgrades
- package-lock.json
# Ultimately, for debugging this workflow itself
- .github/workflows/browser-test.yml

jobs:
build:
Expand All @@ -18,19 +29,24 @@ jobs:
# Each of these ifs needs to be repeated at each step to make sure the required check still runs
# Even if if doesn't do anything
- name: Checkout
uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
with:
lfs: true
- name: Checkout LFS objects
run: git lfs checkout

- name: Setup Node
uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c
uses: actions/setup-node@04c56d2f954f1e4c69436aa54cfef261a018f458
with:
node-version: 16.13.x
cache: npm

- name: Install dependencies
env:
# This makes it so the puppeteer npm package doesn't bother
# to download a copy of chromium because it can use
# `$PUPPETEER_EXECUTABLE_PATH` from the ubuntu Action container.
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
run: npm ci --include=optional

- name: Run browser-test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- name: Build the container
run: docker build --target production .
4 changes: 2 additions & 2 deletions .github/workflows/check-all-english-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
REPORT_REPOSITORY: github/docs-content
steps:
- name: Check out repo's default branch
uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- name: Setup Node
uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c
uses: actions/setup-node@04c56d2f954f1e4c69436aa54cfef261a018f458
with:
node-version: 16.13.x
cache: npm
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-broken-links-github-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
exit 1 # prevents further steps from running

- name: Checkout
uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579

- name: Setup Node
uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c
uses: actions/setup-node@04c56d2f954f1e4c69436aa54cfef261a018f458
with:
node-version: 16.13.x
cache: npm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- uses: github/codeql-action/init@v1
with:
languages: javascript # comma separated list of values from {go, python, javascript, java, cpp, csharp} (not YET ruby, sorry!)
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/content-changes-table-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:

jobs:
PR-Preview-Links:
if: github.event.pull_request.user.login != 'Octomerger'
name: Add staging/live links to PR
runs-on: ubuntu-latest
outputs:
Expand Down Expand Up @@ -38,10 +39,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: check out repo content
uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579

- name: Setup Node
uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c
uses: actions/setup-node@04c56d2f954f1e4c69436aa54cfef261a018f458
with:
node-version: 16.13.x
cache: npm
Expand Down
Loading