Merge branch 'main' into mc-dependabot-advisory-db
@@ -2,13 +2,12 @@
|
||||
// For format details, see https://aka.ms/vscode-remote/devcontainer.json
|
||||
{
|
||||
"name": "docs.github.com",
|
||||
"service": "container-doc",
|
||||
"settings": {
|
||||
"terminal.integrated.shell.linux": "/bin/bash",
|
||||
"cSpell.language": ",en"
|
||||
},
|
||||
// Install pre-requisites, and start to serve docs.github.com locally
|
||||
"postCreateCommand": "npm install && npm start",
|
||||
// Install pre-requisites and run a build to ensure we are ready to start serving docs.github.com locally (via `npm start`)
|
||||
"postCreateCommand": "npm ci && npm run build",
|
||||
"forwardPorts": [4000],
|
||||
// Visual Studio Code extensions which help authoring for docs.github.com.
|
||||
"extensions": [
|
||||
|
||||
4
.github/CODEOWNERS
vendored
@@ -1,12 +1,14 @@
|
||||
# Order is important. The LAST matching pattern has the MOST precedence.
|
||||
# gitignore style patterns are used, not globs.
|
||||
# https://help.github.com/articles/about-codeowners
|
||||
# https://docs.github.com/articles/about-codeowners
|
||||
# https://git-scm.com/docs/gitignore
|
||||
|
||||
# Engineering
|
||||
*.js @github/docs-engineering
|
||||
/.github/ @github/docs-engineering
|
||||
/script/ @github/docs-engineering
|
||||
/includes/ @github/docs-engineering
|
||||
/layouts/ @github/docs-engineering
|
||||
app.json @github/docs-engineering
|
||||
Dockerfile @github/docs-engineering
|
||||
package-lock.json @github/docs-engineering
|
||||
|
||||
14
.github/ISSUE_COMMENT_TEMPLATE/target-date.yml
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
name: Target Date Update
|
||||
about: Target date update
|
||||
body:
|
||||
- type: input
|
||||
attributes:
|
||||
name: Target completion date
|
||||
placeholder: With context if the target completion date has changed
|
||||
inputType: text
|
||||
- type: input
|
||||
attributes:
|
||||
name: 'Attribution'
|
||||
value: '_created with :heart: by typing_ `/status`'
|
||||
inputType: text
|
||||
45
.github/ISSUE_TEMPLATE/partner-contributed-documentation.md
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
---
|
||||
name: Partner-owned product documentation
|
||||
about: Initiate a set of tasks to be completed by a GitHub partner wishing to document how their product works with GitHub
|
||||
title: ''
|
||||
labels:
|
||||
- partner
|
||||
assignees: ''
|
||||
---
|
||||
|
||||
<!--
|
||||
Thank you for your interest in contributing to the GitHub documentation.
|
||||
|
||||
This issue template is only for use by GitHub's Technology Partners who wish to contribute documentation explaining how the partner's product works with GitHub, making it straightforward for our shared customers to adopt the product into their workflow.
|
||||
|
||||
As a general guide, we estimate we have bandwidth for prioritizing and reviewing up to 3 partner contributions per quarter.
|
||||
|
||||
Please be sure to complete all items in the checklists that follow, and feel free to comment with any questions. A member of the team will be glad to support you.
|
||||
-->
|
||||
|
||||
## Pre-requisites
|
||||
|
||||
- [ ] Prior to submitting documentation, please apply to join the GitHub Technology Partner Program: [partner.github.com/apply](https://partner.github.com/apply?partnershipType=Technology+Partner). Please feel free to proceed once your application is approved.
|
||||
|
||||
## Tasks
|
||||
|
||||
Please be sure to complete each of the following:
|
||||
|
||||
**Third-party product documentation:**
|
||||
|
||||
- [ ] MUST follow our [general contributing guidelines](CONTRIBUTING.md) for voice and markup format.
|
||||
- [ ] MUST emphasize how the third-party product works with GitHub.
|
||||
- [ ] MUST be written in Markdown format, using [one of the templates provided](contributing/github-partners/README.md#templates)
|
||||
- [ ] MUST include the name and URL of the GitHub technology partner responsible for maintenance of the documentation being contributed. This should be added via the `contributor.name` and `contributor.URL` properties in the template's YAML frontmatter.
|
||||
- [ ] MUST be proposed via a pull request to this repo following [the GitHub Flow](https://guides.github.com/introduction/flow/).
|
||||
- [ ] MUST be located in the root of [the `content` folder](content). Your filename MUST match the GitHub technology partner name, and use the `.md` file extension.
|
||||
|
||||
**The `Pull Request`:**
|
||||
|
||||
- [ ] MUST reference this issue, e.g. via `closes #<this issue number>`
|
||||
- [ ] MUST pass the automated CI checks
|
||||
- [ ] MUST include links to supporting material demonstrating the functionality being documented (this can be a link to a public GitHub repo, _or_ a video / screencast walkthrough)
|
||||
|
||||
Once all tasks are completed, please mention `@github/docs-content` for next steps.
|
||||
|
||||
/cc @github/partner-engineering for :eyes:
|
||||
24
.github/ISSUE_TEMPLATE/production-config-change.md
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
name: Change production configuration
|
||||
about: Track changes to the production docs.github.com site
|
||||
title: ''
|
||||
labels: engineering
|
||||
assignees: ''
|
||||
---
|
||||
|
||||
A configuration change would be something outside of our code that we change with our production environment, such as environment variables, virtual machine tier or quantity, or service providers.
|
||||
|
||||
- _Primary person_:
|
||||
- _Second person_:
|
||||
- _When_:
|
||||
- _Zoom URL_:
|
||||
|
||||
### What is the configuration change?
|
||||
|
||||
### Why are we updating this configuration?
|
||||
|
||||
### What risks are there with this configuration change?
|
||||
|
||||
### If an issue happens, how do we roll back?
|
||||
|
||||
Once the change is verified good, please close this issue.
|
||||
7
.github/allowed-actions.js
vendored
@@ -11,6 +11,8 @@ module.exports = [
|
||||
"actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e", //actions/setup-node@v2.1.4
|
||||
"ruby/setup-ruby@fdcfbcf14ec9672f6f615cb9589a1bc5dd69d262", //ruby/setup-ruby@vv1.64.1
|
||||
"actions/stale@9d6f46564a515a9ea11e7762ab3957ee58ca50da", //actions/stale@v3.0.16
|
||||
"alex-page/github-project-automation-plus@fdb7991b72040d611e1123d2b75ff10eda9372c9",
|
||||
"andymckay/labeler@22d5392de2b725cea4b284df5824125054049d84",
|
||||
"archive/github-actions-slack@d368c5a4ad757515a9344918f84c490b05777d94",
|
||||
"ashley-taylor/regex-property-action@93a24f845cd20790924208225cc72da8b4c6d46d",
|
||||
"crowdin/github-action@fd9429dd63d6c0f8a8cb4b93ad8076990bd6e688",
|
||||
@@ -21,21 +23,22 @@ module.exports = [
|
||||
"fkirc/skip-duplicate-actions@36feb0d8d062137530c2e00bd278d138fe191289",
|
||||
"github/codeql-action/analyze@v1",
|
||||
"github/codeql-action/init@v1",
|
||||
"ianwalter/puppeteer-container@2466ba8ecf689ccf4e5dfadeff3ac2db227b2e17",
|
||||
"juliangruber/approve-pull-request-action@c530832d4d346c597332e20e03605aa94fa150a8",
|
||||
"juliangruber/find-pull-request-action@2fc55e82a6d5d36fe1e7f1848f7e64fd02d99de9",
|
||||
"juliangruber/read-file-action@e0a316da496006ffd19142f0fd594a1783f3b512",
|
||||
"lee-dohm/close-matching-issues@22002609b2555fe18f52b8e2e7c07cbf5529e8a8",
|
||||
"octokit/graphql-action@5b3e01d42dee4509b0ac6b1cb2cf7778cdce85c2",
|
||||
"pascalgn/automerge-action@c9bd1823770819dc8fb8a5db2d11a3a95fbe9b07", //pascalgn/automerge@0.12.0
|
||||
"peter-evans/create-issue-from-file@a04ce672e3acedb1f8e416b46716ddfd09905326",
|
||||
"peter-evans/create-or-update-comment@5221bf4aa615e5c6e95bb142f9673a9c791be2cd",
|
||||
"peter-evans/create-pull-request@8c603dbb04b917a9fc2dd991dc54fef54b640b43",
|
||||
"rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9",
|
||||
"rachmari/labeler@832d42ec5523f3c6d46e8168de71cd54363e3e2e",
|
||||
"rachmari/puppeteer-container@6d56d6e132a3df76cf60bc290a4282f7fbaed05e",
|
||||
"repo-sync/github-sync@3832fe8e2be32372e1b3970bbae8e7079edeec88",
|
||||
"repo-sync/pull-request@33777245b1aace1a58c87a29c90321aa7a74bd7d",
|
||||
"someimportantcompany/github-actions-slack-message@0b470c14b39da4260ed9e3f9a4f1298a74ccdefd",
|
||||
"tjenkinson/gh-action-auto-merge-dependency-updates@4d7756c04d9d999c5968697a621b81c47f533d61",
|
||||
"EndBug/add-and-commit@9358097a71ad9fb9e2f9624c6098c89193d83575",
|
||||
"EndBug/add-and-commit@b3c7c1e078a023d75fb0bd326e02962575ce0519",
|
||||
"dorny/paths-filter@eb75a1edc117d3756a18ef89958ee59f9500ba58",
|
||||
];
|
||||
|
||||
10
.github/commands/remove.yaml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
trigger: remove-from-fr-board
|
||||
title: Remove from FR board
|
||||
description: Remove the current issue or pull request from the project board for the docs content first responder
|
||||
surfaces:
|
||||
- issue
|
||||
- pull_request
|
||||
- discussion
|
||||
steps:
|
||||
- type: repository_dispatch
|
||||
eventType: remove_from_FR_board
|
||||
6
.github/workflows/browser-test.yml
vendored
@@ -39,12 +39,14 @@ jobs:
|
||||
|
||||
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
|
||||
name: Install
|
||||
uses: ianwalter/puppeteer-container@2466ba8ecf689ccf4e5dfadeff3ac2db227b2e17
|
||||
uses: rachmari/puppeteer-container@6d56d6e132a3df76cf60bc290a4282f7fbaed05e
|
||||
timeout-minutes: 5
|
||||
with:
|
||||
args: npm ci
|
||||
|
||||
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
|
||||
name: Test
|
||||
uses: ianwalter/puppeteer-container@2466ba8ecf689ccf4e5dfadeff3ac2db227b2e17
|
||||
timeout-minutes: 10
|
||||
uses: rachmari/puppeteer-container@6d56d6e132a3df76cf60bc290a4282f7fbaed05e
|
||||
with:
|
||||
args: npm run browser-test
|
||||
|
||||
2
.github/workflows/build-docker-image.yml
vendored
@@ -14,7 +14,7 @@ env:
|
||||
jobs:
|
||||
build:
|
||||
# Do not run this job for translations PRs
|
||||
if: ${{ github.ref != 'refs/heads/translations' }}
|
||||
if: ${{ github.head_ref != 'translations' && github.ref != 'refs/heads/translations' }}
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
@@ -11,7 +11,7 @@ on:
|
||||
jobs:
|
||||
invalid-repo-sync-check:
|
||||
name: Close external Repo Sync PRs
|
||||
if: ${{ github.repository == 'github/docs' && github.ref == 'refs/heads/repo-sync' }}
|
||||
if: ${{ github.repository == 'github/docs' && github.head_ref == 'repo-sync' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
|
||||
|
||||
2
.github/workflows/link-check-dotcom.yml
vendored
@@ -47,7 +47,7 @@ jobs:
|
||||
# run: npm run heroku-postbuild
|
||||
# env:
|
||||
# DOCUBOT_REPO_PAT: ${{ secrets.DOCUBOT_REPO_PAT }}
|
||||
# GIT_BRANCH: ${{ github.ref }}
|
||||
# GIT_BRANCH: ${{ github.head_ref || github.ref }}
|
||||
|
||||
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
|
||||
name: Build
|
||||
|
||||
2
.github/workflows/link-check-ghae.yml
vendored
@@ -47,7 +47,7 @@ jobs:
|
||||
# run: npm run heroku-postbuild
|
||||
# env:
|
||||
# DOCUBOT_REPO_PAT: ${{ secrets.DOCUBOT_REPO_PAT }}
|
||||
# GIT_BRANCH: ${{ github.ref }}
|
||||
# GIT_BRANCH: ${{ github.head_ref || github.ref }}
|
||||
|
||||
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
|
||||
name: Build
|
||||
|
||||
2
.github/workflows/link-check-ghes.yml
vendored
@@ -47,7 +47,7 @@ jobs:
|
||||
# run: npm run heroku-postbuild
|
||||
# env:
|
||||
# DOCUBOT_REPO_PAT: ${{ secrets.DOCUBOT_REPO_PAT }}
|
||||
# GIT_BRANCH: ${{ github.ref }}
|
||||
# GIT_BRANCH: ${{ github.head_ref || github.ref }}
|
||||
|
||||
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
|
||||
name: Build
|
||||
|
||||
2
.github/workflows/merged-notification.yml
vendored
@@ -15,5 +15,5 @@ jobs:
|
||||
github.issues.createComment({
|
||||
...context.repo,
|
||||
issue_number: context.payload.pull_request.number,
|
||||
body: 'Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you're looking for your next contribution, check out our [help wanted issues](https://github.com/github/docs/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) :zap:'
|
||||
body: "Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you're looking for your next contribution, check out our [help wanted issues](https://github.com/github/docs/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) :zap:"
|
||||
})
|
||||
|
||||
17
.github/workflows/move-help-wanted-issues.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
name: Move help wanted issues
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- labeled
|
||||
|
||||
jobs:
|
||||
move_issues:
|
||||
if: github.repository == 'github/docs' && (github.event.label.name == 'help wanted' || github.event.label.name == 'good first issue')
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: alex-page/github-project-automation-plus@fdb7991b72040d611e1123d2b75ff10eda9372c9
|
||||
with:
|
||||
project: Docs team reviews
|
||||
column: Help wanted
|
||||
repo-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
|
||||
22
.github/workflows/move-ready-to-merge-issues.yaml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Move and unlabel ready to merge issues
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- labeled
|
||||
|
||||
jobs:
|
||||
unmark_for_review:
|
||||
if: github.repository == 'github/docs' && github.event.label.name == 'ready to merge'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: move issue
|
||||
uses: alex-page/github-project-automation-plus@fdb7991b72040d611e1123d2b75ff10eda9372c9
|
||||
with:
|
||||
project: Docs team reviews
|
||||
column: Triage
|
||||
repo-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
|
||||
- name: remove label
|
||||
uses: andymckay/labeler@22d5392de2b725cea4b284df5824125054049d84
|
||||
with:
|
||||
remove-labels: 'waiting for review'
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
5
.github/workflows/openapi-decorate.yml
vendored
@@ -25,13 +25,10 @@ jobs:
|
||||
run: script/rest/update-files.js --decorate-only
|
||||
|
||||
- name: Check in the decorated files
|
||||
uses: EndBug/add-and-commit@9358097a71ad9fb9e2f9624c6098c89193d83575
|
||||
uses: EndBug/add-and-commit@b3c7c1e078a023d75fb0bd326e02962575ce0519
|
||||
with:
|
||||
# The arguments for the `git add` command
|
||||
add: 'lib/rest/static/decorated'
|
||||
|
||||
# The message for the commit
|
||||
message: 'Add decorated OpenAPI schema files'
|
||||
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this line unchanged
|
||||
|
||||
@@ -19,5 +19,5 @@ jobs:
|
||||
id: notify
|
||||
with:
|
||||
slack-channel: 'C01EEKVR0Q7'
|
||||
slack-bot-user-oauth-access-token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}
|
||||
slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_TOKEN }}
|
||||
slack-text: \n><${{ github.event.comment.html_url}}|*${{github.event.issue.title}}*>\nstatus update posted by ${{github.event.comment.user.login}}\n\n${{ steps.trimmed.outputs.value }}
|
||||
|
||||
22
.github/workflows/ready-for-doc-review.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Ready for docs-content review
|
||||
|
||||
# **What it does**: Adds pull requests in the docs-internal repository to the docs-content first responder project board
|
||||
# **Why we have it**: So that other GitHub teams can easily request reviews from the docs-content team, and so that writers can see when a PR is ready for review
|
||||
# **Who does it impact**: Writers working in the docs-internal repository
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [labeled]
|
||||
|
||||
jobs:
|
||||
request_doc_review:
|
||||
name: Request a review from the docs-content team
|
||||
if: github.event.label.name == 'ready-for-doc-review' && github.repository == 'github/docs-internal'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Add pull request to FR project board
|
||||
uses: rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9
|
||||
with:
|
||||
action-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
|
||||
project-url: 'https://github.com/orgs/github/projects/1367'
|
||||
column-name: 'Docs-internal external contributor PRs'
|
||||
64
.github/workflows/remove-from-fr-board.yaml
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
name: Remove card from FR board
|
||||
|
||||
on:
|
||||
repository_dispatch:
|
||||
types: remove_from_docs_FR_board
|
||||
|
||||
jobs:
|
||||
remove_from_FR_board:
|
||||
if: github.repository == 'github/docs-internal'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- id: find_project_cards
|
||||
uses: octokit/graphql-action@5b3e01d42dee4509b0ac6b1cb2cf7778cdce85c2
|
||||
with:
|
||||
query: |
|
||||
query($issue_node_id:ID!) {
|
||||
node(id:$issue_node_id) {
|
||||
... on Issue {
|
||||
projectCards(first: 10) {
|
||||
nodes {
|
||||
id
|
||||
project {
|
||||
name
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
... on PullRequest {
|
||||
projectCards(first: 10) {
|
||||
nodes {
|
||||
id
|
||||
project {
|
||||
name
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
issue_node_id: ${{ github.event.client_payload.command.resource.id }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
|
||||
|
||||
- run: "echo 'Project cards found: ${{ steps.find_project_cards.outputs.data }}'"
|
||||
|
||||
- name: Get FR card
|
||||
env:
|
||||
QUERY_DATA: ${{ steps.find_project_cards.outputs.data }}
|
||||
run: |
|
||||
echo 'FR_CARDS='$(jq '.node.projectCards.nodes | .[] | select(.project.id == "MDc6UHJvamVjdDQ1NzI0ODI=") | .id' <<< "$QUERY_DATA") >> $GITHUB_ENV
|
||||
|
||||
- name: Delete card
|
||||
id: delete_project_card
|
||||
if: ${{ env.FR_CARDS }}
|
||||
uses: octokit/graphql-action@5b3e01d42dee4509b0ac6b1cb2cf7778cdce85c2
|
||||
with:
|
||||
query: |
|
||||
mutation DeleteCard {
|
||||
deleteProjectCard(input:{cardId:${{ env.FR_CARDS }}}) {deletedCardId}
|
||||
}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
|
||||
2
.github/workflows/repo-freeze-check.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Fail if repo merges are paused
|
||||
if: ${{ env.FREEZE == 'true' && github.ref != 'refs/heads/repo-sync' }}
|
||||
if: ${{ env.FREEZE == 'true' && github.head_ref != 'repo-sync' }}
|
||||
run: |
|
||||
echo 'Merges into the "main" branch on this repo are currently paused!'
|
||||
exit 1
|
||||
|
||||
30
.github/workflows/send-eng-issues-to-backlog.yml
vendored
@@ -1,30 +0,0 @@
|
||||
name: Send Issue to EPD backlog
|
||||
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- labeled
|
||||
- reopened
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
if: github.repository == 'github/docs-internal'
|
||||
runs-on: ubuntu-latest
|
||||
continue-on-error: true
|
||||
steps:
|
||||
- name: Add issues with engineering label to project board
|
||||
if: contains(github.event.issue.labels.*.name, 'engineering') || contains(github.event.issue.labels.*.name, 'design') || contains(github.event.issue.labels.*.name, 'Design')
|
||||
uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
|
||||
with:
|
||||
github-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
|
||||
script: |
|
||||
var column_id = 9659080;
|
||||
try {
|
||||
github.projects.createCard({
|
||||
column_id: column_id,
|
||||
content_id: context.payload.issue.id,
|
||||
content_type: "Issue"
|
||||
});
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
58
.github/workflows/send-issues-to-how-how-we-work-boards.yml
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
name: Send Issue to How We Work Boards
|
||||
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- labeled
|
||||
- reopened
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-latest
|
||||
continue-on-error: true
|
||||
steps:
|
||||
- if: contains(github.event.issue.labels.*.name, 'engineering') && !contains(github.event.issue.labels.*.name, 'feature') && !contains(github.event.issue.labels.*.name, 'epic')
|
||||
uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
|
||||
with:
|
||||
github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
|
||||
script: |
|
||||
var column_id = 9659080;
|
||||
try {
|
||||
github.projects.createCard({
|
||||
column_id: column_id,
|
||||
content_id: context.payload.issue.id,
|
||||
content_type: "Issue"
|
||||
});
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
- if: contains(github.event.issue.labels.*.name, 'engineering') && contains(github.event.issue.labels.*.name, 'feature')
|
||||
uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
|
||||
with:
|
||||
github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
|
||||
script: |
|
||||
var column_id = 13445681;
|
||||
try {
|
||||
github.projects.createCard({
|
||||
column_id: column_id,
|
||||
content_id: context.payload.issue.id,
|
||||
content_type: "Issue"
|
||||
});
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
- if: contains(github.event.issue.labels.*.name, 'engineering') && contains(github.event.issue.labels.*.name, 'epic')
|
||||
uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
|
||||
with:
|
||||
github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
|
||||
script: |
|
||||
var column_id = 13445932;
|
||||
try {
|
||||
github.projects.createCard({
|
||||
column_id: column_id,
|
||||
content_id: context.payload.issue.id,
|
||||
content_type: "Issue"
|
||||
});
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
2
.github/workflows/site-policy-sync.yml
vendored
@@ -18,7 +18,7 @@ on:
|
||||
jobs:
|
||||
# This workflow contains a single job called "build"
|
||||
copy-file:
|
||||
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
|
||||
if: github.repository == 'github/docs-internal'
|
||||
# The type of runner that the job will run on
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
||||
19
.github/workflows/test-windows.yml
vendored
@@ -1,4 +1,4 @@
|
||||
# NOTE: Changes to this file should also be applied to './test.yml' and './test-translations.yml'
|
||||
# NOTE: Changes to this file should also be applied to './test.yml'
|
||||
|
||||
name: Node.js Tests - Windows
|
||||
|
||||
@@ -8,10 +8,14 @@ on:
|
||||
schedule:
|
||||
- cron: '50 19 * * *' # once a day at 19:50 UTC / 11:50 PST
|
||||
|
||||
env:
|
||||
CI: true
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: windows-latest
|
||||
if: (github.event_name != 'pull_request') || (github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'Windows') || contains(github.event.pull_request.labels.*.name, 'windows')))
|
||||
timeout-minutes: 60
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@@ -19,6 +23,9 @@ jobs:
|
||||
steps:
|
||||
- name: Check out repo
|
||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||
with:
|
||||
# Enables cloning the Early Access repo later with the relevant PAT
|
||||
persist-credentials: 'false'
|
||||
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
||||
@@ -41,7 +48,15 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Run build script
|
||||
- if: ${{ github.repository == 'github/docs-internal' }}
|
||||
name: Clone early access
|
||||
run: npm run heroku-postbuild
|
||||
env:
|
||||
DOCUBOT_REPO_PAT: ${{ secrets.DOCUBOT_REPO_PAT }}
|
||||
GIT_BRANCH: ${{ github.head_ref || github.ref }}
|
||||
|
||||
- if: ${{ github.repository != 'github/docs-internal' }}
|
||||
name: Run build script
|
||||
run: npm run build
|
||||
|
||||
- name: Run tests
|
||||
|
||||
2
.github/workflows/test.yml
vendored
@@ -77,7 +77,7 @@ jobs:
|
||||
run: npm run heroku-postbuild
|
||||
env:
|
||||
DOCUBOT_REPO_PAT: ${{ secrets.DOCUBOT_REPO_PAT }}
|
||||
GIT_BRANCH: ${{ github.ref }}
|
||||
GIT_BRANCH: ${{ github.head_ref || github.ref }}
|
||||
|
||||
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' && github.repository != 'github/docs-internal' }}
|
||||
name: Run build script
|
||||
|
||||
2
.github/workflows/triage-pull-requests.yml
vendored
@@ -7,7 +7,7 @@ on:
|
||||
|
||||
jobs:
|
||||
triage_pulls:
|
||||
if: github.repository == 'github/docs'
|
||||
if: github.repository != 'github/docs-internal'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
2
.github/workflows/update-graphql-files.yml
vendored
@@ -56,7 +56,7 @@ jobs:
|
||||
If CI does not pass or other problems arise, contact #docs-engineering on slack."
|
||||
labels: automerge,autoupdate
|
||||
branch: graphql-schema-update
|
||||
- if: ${{ failure() }}
|
||||
- if: ${{ failure() && env.FREEZE != 'true'}}
|
||||
name: Delete remote branch (if previous steps failed)
|
||||
uses: dawidd6/action-delete-branch@47743101a121ad657031e6704086271ca81b1911
|
||||
with:
|
||||
|
||||
BIN
assets/images/enterprise/configuration/ae-discard-email.png
Normal file
|
After Width: | Height: | Size: 61 KiB |
BIN
assets/images/enterprise/configuration/ae-email-configure.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 42 KiB |
BIN
assets/images/enterprise/configuration/ae-send-test-email.png
Normal file
|
After Width: | Height: | Size: 70 KiB |
BIN
assets/images/enterprise/configuration/ae-test-email.png
Normal file
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 174 KiB |
BIN
assets/images/enterprise/github-ae/teams/choose-an-idp-group.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
assets/images/enterprise/github-ae/teams/unselect-idp-group.png
Normal file
|
After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 224 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 6.3 KiB |
|
Before Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 9.0 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 7.0 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 135 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 195 KiB |
|
Before Width: | Height: | Size: 6.8 KiB |
|
Before Width: | Height: | Size: 55 KiB |