Skip to content

Commit ebff101

Browse files
authored
Merge branch 'main' into github-jekyll-add-and-commit
2 parents 9683190 + 54f611a commit ebff101

235 files changed

Lines changed: 7472 additions & 7505 deletions

File tree

Some content is hidden

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

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ jobs:
6161
owner: 'github',
6262
repo: 'docs-internal',
6363
title: `@${context.payload.sender.login} confirm that \#${issueNo} should be in the public github/docs repo`,
64-
body: `@${context.payload.sender.login} opened https://github.com/github/docs/issues/${issueNo} publicly in the github/docs repo, instead of the private github/docs-internal repo.\n\n@${context.payload.sender.login}, please confirm that this belongs in the public repo and that no sensitive information was disclosed by commenting below and closing the issue.\n\nIf this was not intentional and sensitive information was shared, please delete https://github.com/github/docs/issues/${issueNo} and notify us in the \#docs-open-source channel.\n\nThanks! \n\n/cc @github/docs @github/docs-engineering`
64+
body: `@${context.payload.sender.login} opened https://github.com/github/docs/issues/${issueNo} publicly in the github/docs repo, instead of the private github/docs-internal repo.\n\n@${context.payload.sender.login}, please confirm that this belongs in the public repo and that no sensitive information was disclosed by commenting below and closing the issue.\n\nIf this was not intentional and sensitive information was shared, please delete https://github.com/github/docs/issues/${issueNo} and notify us in the \#docs-open-source channel.\n\nThanks! \n\n/cc @github/docs @github/docs-engineering`,
65+
labels: ['OS confirmation'],
6566
});
6667
6768
core.setOutput('did_warn', 'true')

.github/workflows/ping-staging-apps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: Ping staging apps
66

77
on:
88
schedule:
9-
- cron: '*/20 * * * *' # every twenty minutes
9+
- cron: '10,30,50 * * * *' # every twenty minutes
1010

1111
jobs:
1212
ping_staging_apps:
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Remove stale staging apps
2+
3+
# **What it does**:
4+
# This cleans up any rogue staging applications that outlasted the closure of
5+
# their corresponding pull requests.
6+
# **Why we have it**:
7+
# Staging applications sometimes fail to be destroyed when their corresponding
8+
# pull request is closed or merged.
9+
# **Who does it impact**:
10+
# Anyone with a closed, spammy, or deleted pull request in docs or docs-internal.
11+
12+
on:
13+
schedule:
14+
- cron: '15,45 * * * *' # every thirty minutes at :15 and :45
15+
16+
jobs:
17+
remove_stale_staging_apps:
18+
name: Remove stale staging apps
19+
if: ${{ github.repository == 'github/docs-internal' }}
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
23+
- name: npm ci
24+
run: npm ci
25+
- name: Run script
26+
run: script/remove-stale-staging-apps.js
27+
env:
28+
HEROKU_API_TOKEN: ${{ secrets.HEROKU_API_TOKEN }}
29+
GITHUB_TOKEN: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}

.github/workflows/repo-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ name: Repo Sync
1818
on:
1919
workflow_dispatch:
2020
schedule:
21-
- cron: '*/15 * * * *' # every 15 minutes
21+
- cron: '10,25,40,55 * * * *' # every 15 minutes
2222

2323
jobs:
2424
close-invalid-repo-sync:

.github/workflows/send-issues-to-how-how-we-work-boards.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
continue-on-error: true
1818
steps:
19-
- if: (github.repository == 'github/docs-internal') && contains(github.event.issue.labels.*.name, 'engineering') && !contains(github.event.issue.labels.*.name, 'feature') && !contains(github.event.issue.labels.*.name, 'epic')
19+
- if: (github.repository == 'github/docs-internal') && contains(github.event.issue.labels.*.name, 'engineering') && !contains(github.event.issue.labels.*.name, 'batch') && !contains(github.event.issue.labels.*.name, 'epic')
2020
uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
2121
with:
2222
github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
@@ -31,7 +31,7 @@ jobs:
3131
} catch (error) {
3232
console.log(error);
3333
}
34-
- if: (github.repository == 'github/docs-internal') && contains(github.event.issue.labels.*.name, 'engineering') && contains(github.event.issue.labels.*.name, 'feature')
34+
- if: (github.repository == 'github/docs-internal') && contains(github.event.issue.labels.*.name, 'engineering') && contains(github.event.issue.labels.*.name, 'batch')
3535
uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
3636
with:
3737
github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}

.github/workflows/send-prs-to-how-how-we-work-boards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
continue-on-error: true
1818
steps:
19-
- if: (github.repository == 'github/docs-internal') && contains(github.event.pull_request.labels.*.name, 'feature')
19+
- if: (github.repository == 'github/docs-internal') && contains(github.event.pull_request.labels.*.name, 'batch')
2020
uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
2121
with:
2222
github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}

.github/workflows/test-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
fail-fast: false
2525
matrix:
26-
test-group: [content, graphql, meta, rendering, routing, unit]
26+
test-group: [content, graphql, meta, rendering, routing, unit, linting]
2727
steps:
2828
- name: Check out repo
2929
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
test-group: [content, graphql, meta, rendering, routing, unit]
28+
# The same array lives in test-windows.yml, so make any updates there too.
29+
test-group: [content, graphql, meta, rendering, routing, unit, linting]
2930
steps:
3031
# Each of these ifs needs to be repeated at each step to make sure the required check still runs
3132
# Even if if doesn't do anything
177 KB
Loading
51.5 KB
Loading

0 commit comments

Comments
 (0)