Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repo sync #14730

Merged
merged 50 commits into from
Jan 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
5633a1a
explains limitations of workflow settings for forks
jules-p Jan 19, 2022
7605f1e
Merge branch 'main' into jules-4170
jules-p Jan 19, 2022
bb2537e
split reusable in two and adds article specific details on fork policies
jules-p Jan 25, 2022
3a87251
Merge branch 'jules-4170' of github.com:github/docs-internal into jul…
jules-p Jan 25, 2022
bc14ba2
fixes versioning
jules-p Jan 25, 2022
948e7d8
Merge branch 'main' into jules-4170
jules-p Jan 25, 2022
6b9cec5
Merge branch 'main' into jules-4170
jules-p Jan 25, 2022
58cb836
Bump eslint-plugin-import from 2.25.3 to 2.25.4 (#24569)
dependabot[bot] Jan 26, 2022
c5746fe
Bump @types/uuid from 8.3.3 to 8.3.4 (#24571)
dependabot[bot] Jan 26, 2022
ac55cca
Bump helmet from 4.6.0 to 5.0.2 (#24573)
dependabot[bot] Jan 26, 2022
5320baf
Bump graphql from 16.0.1 to 16.2.0 (#24574)
dependabot[bot] Jan 26, 2022
bd3c60e
Bump remark-parse from 10.0.0 to 10.0.1 (#24576)
dependabot[bot] Jan 26, 2022
67f2d48
a11y: Update nested tables on Rest reference pages (#24640)
gracepark Jan 26, 2022
8bb47c3
update search indexes
actions-user Jan 26, 2022
850aa34
a11y: set focus after submitting survey (#24666)
rsese Jan 26, 2022
f9f27e4
Revert "Bump actions/github-script (#24563)" (#24665)
heiskr Jan 26, 2022
8472738
Bump sass from 1.45.2 to 1.49.0 (#24580)
dependabot[bot] Jan 26, 2022
bb3283b
Bump @babel/core from 7.16.0 to 7.16.12 (#24583)
dependabot[bot] Jan 26, 2022
ef8a326
Bump jest from 27.4.3 to 27.4.7 (#24584)
dependabot[bot] Jan 26, 2022
5f3036d
shut down the old internal link check CI scripts (#23694)
peterbe Jan 26, 2022
57b7154
Update popular-pages.json Jan 2022 (#24669)
peterbe Jan 26, 2022
7844ad4
move 'image-size' to optional dependencies (#24670)
peterbe Jan 26, 2022
7d27bd8
update graphql arguments tables with list markup and h4 (#24673)
gracepark Jan 26, 2022
f1f4532
Update Composite Versioning (#24589)
thboop Jan 26, 2022
f96b7ff
Add github apps permissions for replica cache monitoring API (#24675)
znull Jan 26, 2022
0358910
Add section for self-hosted runner network check (#24542)
lucascosti Jan 27, 2022
7593b2d
Use registry + local cache instead of gha (#24658)
mikesurowiec Jan 27, 2022
ddb2951
update search indexes
actions-user Jan 27, 2022
2bd5aa7
Update content/admin/policies/enforcing-policies-for-your-enterprise/…
jules-p Jan 27, 2022
7ac70fd
Update content/repositories/managing-your-repositorys-settings-and-fe…
jules-p Jan 27, 2022
cdd8c11
Update content/organizations/managing-organization-settings/disabling…
jules-p Jan 27, 2022
9e2cb58
Merge branch 'main' into jules-4170
jules-p Jan 27, 2022
34ed49f
Merge pull request #24424 from github/jules-4170
jules-p Jan 27, 2022
7c79dd8
update search indexes
actions-user Jan 27, 2022
9141a37
Update description for support entitlements (#24340)
pnsk Jan 27, 2022
3c579b4
delete customRanking (#24659)
peterbe Jan 27, 2022
3ab832f
Update audit-logging.md (#24705)
catto Jan 27, 2022
353bba9
Add section on workflow_call keys (#24637)
skedwards88 Jan 27, 2022
7335ccc
Revert "Bump helmet from 4.6.0 to 5.0.2 (#24573)" (#24722)
peterbe Jan 27, 2022
9512ea5
graphql-explorer.githubapp.com is no more (#24720)
peterbe Jan 27, 2022
bd1280b
Update @primer/octicons to 16.3.0 (#24688)
ethanpalm Jan 27, 2022
226d6d6
Bump nanoid from 3.1.30 to 3.2.0 (#24723)
dependabot[bot] Jan 27, 2022
fa00513
test that youtube embeds work (#24726)
peterbe Jan 27, 2022
ac699d2
New translation batch for es (#24668)
docubot Jan 27, 2022
da1cf9a
Bump @jest/globals from 27.4.2 to 27.4.6 (#24579)
dependabot[bot] Jan 27, 2022
a685336
update search indexes
actions-user Jan 27, 2022
865c94b
New translation batch for pt (#24734)
docubot Jan 27, 2022
b0586d0
don't allow data: in script-src (#24730)
peterbe Jan 27, 2022
86b0cf5
add deployment environment to production azure workflow (#24629)
mikesurowiec Jan 27, 2022
c5c148a
Use the same tags across connect-datadog and hot-shots (#24741)
mikesurowiec Jan 27, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.git/
node_modules/
.github/
.vscode/
docs/
script/
2 changes: 1 addition & 1 deletion .github/workflows/automerge-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:

# Because we get far too much spam ;_;
- name: Lock conversations
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-for-spammy-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
if: github.repository == 'github/docs'
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
- uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
with:
github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/confirm-internal-staff-work-in-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
if: github.repository == 'github/docs' && github.actor != 'docs-bot'
steps:
- id: membership_check
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
env:
TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/copy-api-issue-to-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
if: (github.event.label.name == 'rest-description' || github.event.label.name == 'graphql-description') && github.repository == 'github/docs'
steps:
- name: Check if this run was triggered by a member of the docs team
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
id: triggered-by-member
with:
github-token: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/first-responder-docs-content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Check if the event originated from a team member
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
id: set-result
with:
github-token: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}}
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:

steps:
- name: Remove card from project
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
with:
github-token: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}}
result-encoding: string
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hubber-contribution-help.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- id: membership_check
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
with:
github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
script: |
Expand Down
49 changes: 0 additions & 49 deletions .github/workflows/link-check-dotcom.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/link-check-ghae.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/link-check-ghec.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/link-check-ghes.yml

This file was deleted.

71 changes: 71 additions & 0 deletions .github/workflows/main-docker-cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Build and Push Main Docker Cache

# **What it does**: Builds and pushes the `main` Docker cache image
# **Why we have it**: It allows PRs using the registry cache to pull a pre-built image, which should speed up the build
# **Who does it impact**: All contributors.

on:
push:
branches:
- main

permissions:
contents: read

# This allows a subsequently queued workflow run to take priority over
# previously queued runs and interrupt currently executing runs
concurrency:
group: '${{ github.workflow }}'
cancel-in-progress: true

jobs:
build-and-push-nonprod-cache:
runs-on: ubuntu-latest
timeout-minutes: 15
env:
NONPROD_REGISTRY_USERNAME: ghdocs
NONPROD_REGISTRY_NAME: ghdocs
DOCKER_IMAGE_MAIN_REF: ${{ secrets.NONPROD_REGISTRY_SERVER }}/${{ github.repository }}:main

steps:
- name: 'Az CLI login'
uses: azure/login@66d2e78565ab7af265d2b627085bc34c73ce6abb
with:
creds: ${{ secrets.NONPROD_AZURE_CREDENTIALS }}

- name: 'Docker login'
uses: azure/docker-login@81744f9799e7eaa418697cb168452a2882ae844a
with:
login-server: ${{ secrets.NONPROD_REGISTRY_SERVER }}
username: ${{ env.NONPROD_REGISTRY_USERNAME }}
password: ${{ secrets.NONPROD_REGISTRY_PASSWORD }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@94ab11c41e45d028884a99163086648e898eed25

- name: Check out repo
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
with:
# To prevent issues with cloning early access content later
persist-credentials: 'false'
lfs: 'true'

- name: Check out LFS objects
run: git lfs checkout

- if: ${{ github.repository == 'github/docs-internal' }}
name: Clone early access
env:
DOCUBOT_REPO_PAT: ${{ secrets.DOCUBOT_REPO_PAT }}
GIT_BRANCH: main
run: npm install dotenv && node script/early-access/clone-for-build.js

- name: 'Build and push image'
uses: docker/build-push-action@a66e35b9cbcf4ad0ea91ffcaf7bbad63ad9e0229
with:
context: .
push: true
target: ${{ fromJSON('["production", "production_early_access"]')[github.repository == 'github/docs-internal'] }}
tags: ${{ env.DOCKER_IMAGE_MAIN_REF }}
cache-from: type=registry,ref=${{ env.DOCKER_IMAGE_MAIN_REF }}
cache-to: type=registry,mode=max,ref=${{ env.DOCKER_IMAGE_MAIN_REF }}
2 changes: 1 addition & 1 deletion .github/workflows/merged-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
if: github.repository == 'github/docs' && github.event.pull_request.merged && github.event.pull_request.base.ref == github.event.repository.default_branch && github.event.pull_request.user.login != 'Octomerger'
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
- uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
with:
script: |
github.issues.createComment({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- id: move_to_correct_repo
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
env:
TEAM_ENGINEERING_REPO: ${{ secrets.TEAM_ENGINEERING_REPO }}
TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/move-new-issues-to-correct-docs-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
if: github.repository == 'github/docs-internal'
steps:
- id: move_to_correct_repo
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
env:
TEAM_ENGINEERING_REPO: ${{ secrets.TEAM_ENGINEERING_REPO }}
TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/move-reopened-issues-to-triage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
if: github.repository == 'github/docs'
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
- uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
with:
script: |
const issueNumber = context.issue.number;
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notify-when-maintainers-cannot-edit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
if: github.repository == 'github/docs'
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
- uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
with:
script: |
const query = `
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/os-ready-for-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check if this run was triggered by a member of the docs team
uses: actions/github-script@e3cbab99d3a9b271e1b79fc96d103a4a5534998c
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
id: triggered-by-member
with:
github-token: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}}
Expand Down
Loading