Skip to content

Commit b9dc041

Browse files
authored
Merge pull request #11353 from github/repo-sync
repo sync
2 parents 9585ae0 + 9c12341 commit b9dc041

File tree

1,173 files changed

+82677
-2155806
lines changed

Some content is hidden

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

1,173 files changed

+82677
-2155806
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Thanks again!
1414

1515
Closes [issue link]
1616

17-
<!--
17+
<!--
1818
- If there's an existing issue for your change, please link to it.
1919
- If there's _not_ an existing issue, please open one first to make it more likely that this update will be accepted: https://github.com/github/docs/issues/new/choose. -->
2020

@@ -24,8 +24,8 @@ Closes [issue link]
2424

2525
### Check off the following:
2626

27-
- [ ] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click **View deployment**).
28-
- [ ] For content changes, I have completed the [self-review checklist](https://github.com/github/docs/blob/main/contributing/self-review.md#self-review).
27+
- [ ] I have reviewed my changes in staging (look for "Automatically generated comment" and click **Modified** to view your latest changes).
28+
- [ ] For content changes, I have completed the [self-review checklist](https://github.com/github/docs/blob/main/CONTRIBUTING.md#self-review).
2929

3030
### Writer impact (This section is for GitHub staff members only):
3131

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ The day after a GHES version's [deprecation date](https://github.com/github/docs
3535
3636
## Step 3: Commit and push changes to help-docs-archived-enterprise-versions repo
3737
38+
- [ ] Search for `site-search-input` in the compressed Javascript files. When you find it, use something like https://beautifier.io/ to reformat it to be readable. Find `site-search-input` in the file, there will be something like... `1125: function () { return [SearchReactComponent] },` Delete the innards of this function, but leave the `function() {}` part.
3839
- [ ] In your archival checkout, `git add <version>`, commit, and push.
3940
- [ ] Open a PR and merge it in. Note that the version will _not_ be deprecated on the docs site until you do the next step.
4041
@@ -47,12 +48,15 @@ In your `docs-internal` checkout:
4748
- [ ] Tests are passing.
4849
- [ ] The deprecated version renders on staging as expected. You should be able to navigate to docs.github.com/enterprise/<DEPRECATED VERSION> to access the docs. You should also be able to navigate to a page that is available in the deprecated version and change the version in the URL to the deprecated version, to test redirects.
4950
- [ ] The new oldest supported version renders on staging as expected. You should see a banner on the top of every page for the oldest supported version that notes when the version will be deprecated.
51+
52+
You may need to include the changes in step 6 to get tests to pass.
5053
5154
## Step 5: Remove static files for the version
5255
5356
- [ ] In your `docs-internal` checkout, from your `remove-<version>-static-files` branch: `git checkout -b remove-<version>-static-files`
5457
- [ ] Run `script/enterprise-server-deprecations/remove-static-files.js` and commit results.
5558
- [ ] Run `script/enterprise-server-deprecations/remove-redirects.js` and commit results.
59+
- [ ] `lib/rest/static` directory has deferenced and decorated directory underneath, remove the numbered version and all below from the list
5660
- [ ] Open a new PR.
5761
- [ ] Get a review from docs-engineering and merge. This step can be merged independently from step 6. The purpose of splitting up steps 5 and 6 is to focus the review on specific files.
5862
@@ -66,3 +70,8 @@ In your `docs-internal` checkout:
6670
- [ ] Debug any test failures or unexpected results.
6771
- [ ] When the PR is approved, merge it in to complete the deprecation. This can be merged independently from step 5.
6872
73+
## Step 7: Deprecate the OpenAPI description in `github/github`
74+
75+
- [ ] In `github/github`, edit the release's config file in `app/api/description/config/releases/`, and change `deprecated: false` to `deprecated: true`.
76+
- [ ] Open a new PR, and get the required code owner approvals. A docs-content team member can approve it for the docs team.
77+
- [ ] When the PR is approved, merge the `github/github` PR.

.github/allowed-actions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// can be added it this list.
55

66
export default [
7-
'actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f', // v2.3.4
7+
'actions/checkout@1e204e9a9253d643386038d443f96446fa156a97', // v2.3.5
88
'actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d', // v4.0.2
99
'actions/labeler@5f867a63be70efff62b767459b009290364495eb', // v2.2.0
1010
'actions/setup-node@270253e841af726300e85d718a5f606959b2903c', // v2.4.1
@@ -33,7 +33,7 @@ export default [
3333
'rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9',
3434
'repo-sync/github-sync@3832fe8e2be32372e1b3970bbae8e7079edeec88',
3535
'repo-sync/pull-request@65194d8015be7624d231796ddee1cd52a5023cb3', // v2.6
36-
'someimportantcompany/github-actions-slack-message@0b470c14b39da4260ed9e3f9a4f1298a74ccdefd',
36+
'someimportantcompany/github-actions-slack-message@f8d28715e7b8a4717047d23f48c39827cacad340', // v1.2.2
3737
'tjenkinson/gh-action-auto-merge-dependency-updates@c47f6255e06f36e84201ee940466e731ffa6e885', // v1.1.1
3838
'Bhacaz/checkout-files@c8f01756bfd894ba746d5bf48205e19000b0742b', // v1.0.0
3939
'EndBug/add-and-commit@2bdc0a61a03738a1d1bda24d566ad0dbe3083d87',

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ updates:
33
- package-ecosystem: npm
44
directory: '/'
55
schedule:
6-
interval: weekly
6+
interval: monthly
77
open-pull-requests-limit: 20 # default is 5
88

99
- package-ecosystem: 'github-actions'

.github/workflows/browser-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# Each of these ifs needs to be repeated at each step to make sure the required check still runs
1919
# Even if if doesn't do anything
2020
- name: Checkout
21-
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
21+
uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
2222
with:
2323
lfs: true
2424
- name: Checkout LFS objects

.github/workflows/build-docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Check out repo
24-
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
24+
uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
2525
- name: Build the container
2626
run: docker build --target production .

.github/workflows/check-all-english-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
REPORT_REPOSITORY: github/docs-content
2323
steps:
2424
- name: Check out repo's default branch
25-
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
25+
uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
2626
- name: Setup Node
2727
uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c
2828
with:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
exit 1 # prevents further steps from running
3737
3838
- name: Checkout
39-
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
39+
uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
4040

4141
- name: Setup Node
4242
uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
23+
- uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
2424
- uses: github/codeql-action/init@v1
2525
with:
2626
languages: javascript # comma separated list of values from {go, python, javascript, java, cpp, csharp} (not YET ruby, sorry!)

.github/workflows/confirm-internal-staff-work-in-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
7272
- name: Send Slack notification if a GitHub employee who isn't on the docs team opens an issue in public
7373
if: ${{ steps.membership_check.outputs.did_warn && github.repository == 'github/docs' }}
74-
uses: someimportantcompany/github-actions-slack-message@0b470c14b39da4260ed9e3f9a4f1298a74ccdefd
74+
uses: someimportantcompany/github-actions-slack-message@f8d28715e7b8a4717047d23f48c39827cacad340
7575
with:
7676
channel: ${{ secrets.DOCS_OPEN_SOURCE_SLACK_CHANNEL_ID }}
7777
bot-token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}

0 commit comments

Comments
 (0)