Skip to content

Commit 5f89d32

Browse files
authored
repo sync
2 parents abee1fc + 4c44642 commit 5f89d32

1,226 files changed

Lines changed: 15392 additions & 1189 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.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Target Date Update
3+
about: Target date update
4+
body:
5+
- type: input
6+
attributes:
7+
name: Target completion date
8+
placeholder: With context if the target completion date has changed
9+
inputType: text
10+
- type: input
11+
attributes:
12+
name: 'Attribution'
13+
value: '_created with :heart: by typing_ `/status`'
14+
inputType: text

.github/allowed-actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ module.exports = [
3939
"repo-sync/pull-request@33777245b1aace1a58c87a29c90321aa7a74bd7d",
4040
"someimportantcompany/github-actions-slack-message@0b470c14b39da4260ed9e3f9a4f1298a74ccdefd",
4141
"tjenkinson/gh-action-auto-merge-dependency-updates@4d7756c04d9d999c5968697a621b81c47f533d61",
42-
"EndBug/add-and-commit@9358097a71ad9fb9e2f9624c6098c89193d83575",
42+
"EndBug/add-and-commit@b3c7c1e078a023d75fb0bd326e02962575ce0519",
4343
"dorny/paths-filter@eb75a1edc117d3756a18ef89958ee59f9500ba58",
4444
];

.github/workflows/close-external-repo-sync-prs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
invalid-repo-sync-check:
1313
name: Close external Repo Sync PRs
14-
if: ${{ github.repository == 'github/docs' && github.ref == 'refs/heads/repo-sync' }}
14+
if: ${{ github.repository == 'github/docs' && github.head_ref == 'repo-sync' }}
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9

.github/workflows/openapi-decorate.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,10 @@ jobs:
2525
run: script/rest/update-files.js --decorate-only
2626

2727
- name: Check in the decorated files
28-
uses: EndBug/add-and-commit@9358097a71ad9fb9e2f9624c6098c89193d83575
28+
uses: EndBug/add-and-commit@b3c7c1e078a023d75fb0bd326e02962575ce0519
2929
with:
3030
# The arguments for the `git add` command
3131
add: 'lib/rest/static/decorated'
3232

3333
# The message for the commit
3434
message: 'Add decorated OpenAPI schema files'
35-
36-
env:
37-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this line unchanged
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Ready for docs-content review
2+
3+
# **What it does**: Adds pull requests in the docs-internal repository to the docs-content first responder project board
4+
# **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
5+
# **Who does it impact**: Writers working in the docs-internal repository
6+
7+
on:
8+
pull_request:
9+
types: [labeled]
10+
11+
jobs:
12+
request_doc_review:
13+
name: Request a review from the docs-content team
14+
if: github.event.label.name == 'ready-for-doc-review' && github.repository == 'github/docs-internal'
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Add pull request to FR project board
18+
uses: rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9
19+
with:
20+
action-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
21+
project-url: 'https://github.com/orgs/github/projects/1367'
22+
column-name: 'Docs-internal external contributor PRs'

.github/workflows/send-eng-issues-to-backlog.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Send Issue to How We Work Boards
2+
3+
on:
4+
issues:
5+
types:
6+
- labeled
7+
- reopened
8+
9+
jobs:
10+
triage:
11+
runs-on: ubuntu-latest
12+
continue-on-error: true
13+
steps:
14+
- if: contains(github.event.issue.labels.*.name, 'engineering') && !contains(github.event.issue.labels.*.name, 'feature') && !contains(github.event.issue.labels.*.name, 'epic')
15+
uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
16+
with:
17+
github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
18+
script: |
19+
var column_id = 9659080;
20+
try {
21+
github.projects.createCard({
22+
column_id: column_id,
23+
content_id: context.payload.issue.id,
24+
content_type: "Issue"
25+
});
26+
} catch (error) {
27+
console.log(error);
28+
}
29+
- if: contains(github.event.issue.labels.*.name, 'engineering') && contains(github.event.issue.labels.*.name, 'feature')
30+
uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
31+
with:
32+
github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
33+
script: |
34+
var column_id = 13445681;
35+
try {
36+
github.projects.createCard({
37+
column_id: column_id,
38+
content_id: context.payload.issue.id,
39+
content_type: "Issue"
40+
});
41+
} catch (error) {
42+
console.log(error);
43+
}
44+
- if: contains(github.event.issue.labels.*.name, 'engineering') && contains(github.event.issue.labels.*.name, 'epic')
45+
uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
46+
with:
47+
github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
48+
script: |
49+
var column_id = 13445932;
50+
try {
51+
github.projects.createCard({
52+
column_id: column_id,
53+
content_id: context.payload.issue.id,
54+
content_type: "Issue"
55+
});
56+
} catch (error) {
57+
console.log(error);
58+
}
-30.4 KB
Binary file not shown.
36.1 KB
Loading
107 KB
Loading

0 commit comments

Comments
 (0)