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

Cachiman patch 1 #10

Open
wants to merge 220 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
220 commits
Select commit Hold shift + click to select a range
2640843
Issue form defaults for dropdowns and adding projects via issue forms…
guntrip Aug 10, 2023
69f60ee
Skip dynamic workflows in purge-old-workflow-runs.js (#40521)
peterbe Aug 10, 2023
85f0d89
Merge pull request #27365 from github/repo-sync
docs-bot Aug 10, 2023
cdee2db
Patch release notes for GitHub Enterprise Server (#40494)
release-controller[bot] Aug 10, 2023
8adf74c
Move permissions info about the Actions APIs out of the intro (#38655)
jhosman Aug 10, 2023
26e6fe4
Update github-corporate-terms-of-service.md (#27360)
clairecharles Aug 10, 2023
c99b40e
Updating the no-response github action to use actions/stale and setti…
gracepark Aug 10, 2023
ba552da
Merge pull request #27366 from github/repo-sync
docs-bot Aug 10, 2023
8d0c34b
Merge pull request #40538 from github/repo-sync
docs-bot Aug 10, 2023
b21bef6
Slice panel for Projects (#39729)
guntrip Aug 10, 2023
10d9744
Merge pull request #27369 from github/repo-sync
docs-bot Aug 10, 2023
2e1c8e7
Update OpenAPI Description (#40539)
docs-bot Aug 10, 2023
7b9eea2
Merge pull request #40541 from github/repo-sync
docs-bot Aug 10, 2023
dbbba6e
Copy the ./src and not ./pages (#40540)
peterbe Aug 10, 2023
8611302
Merge pull request #27370 from github/repo-sync
docs-bot Aug 10, 2023
2e0e81b
Enterprise bug fixes for the week of July 17th (#39896)
jc-clark Aug 10, 2023
a037c9a
Merge pull request #27371 from github/repo-sync
docs-bot Aug 10, 2023
4a28bb7
doc(securing-your-webhooks): add standard JavaScript example (#27264)
coolaj86 Aug 10, 2023
95ec665
Merge pull request #27372 from github/repo-sync
docs-bot Aug 10, 2023
e8637f1
doc(securing-your-webhooks): show test values (#27263)
coolaj86 Aug 10, 2023
5daea0e
Merge pull request #40544 from github/repo-sync
docs-bot Aug 10, 2023
5e5b8a8
Document the new X-GitHub-Valid-Permissions header (#39680)
skedwards88 Aug 10, 2023
f11f237
Merge pull request #40547 from github/repo-sync
docs-bot Aug 10, 2023
0c05290
Merge pull request #27375 from github/repo-sync
docs-bot Aug 10, 2023
14df8ad
Merge pull request #40549 from github/repo-sync
docs-bot Aug 10, 2023
c75e66c
Merge pull request #27376 from github/repo-sync
docs-bot Aug 10, 2023
67769d2
Add to docs new contexts concurrency supports (#24361)
samuliasmala Aug 10, 2023
06ae168
Merge pull request #40553 from github/repo-sync
docs-bot Aug 10, 2023
96fdc63
Fix broken links (#40537)
jhosman Aug 10, 2023
7c87312
Actions: Block runs triggered from tag or fork with the same name as …
SiaraMist Aug 10, 2023
9353c90
Update note about "Group by" deprecation for historical charts (#40458)
guntrip Aug 10, 2023
2a42e08
Merge pull request #27383 from github/repo-sync
docs-bot Aug 10, 2023
da1bce1
Fixing url in warning section of 3.9.3 release notes (#40545)
davidjarzebowski Aug 10, 2023
0f5701e
Dependabot Grouped Version Updates: production vs development depend…
mchammer01 Aug 10, 2023
956f640
Merge pull request #27384 from github/repo-sync
docs-bot Aug 11, 2023
d0559d6
Merge pull request #27385 from github/repo-sync
docs-bot Aug 11, 2023
ffd09b2
Update CodeQL CLI manual (#40489)
docs-bot Aug 11, 2023
fdcfef0
Adds excluded link to broken link search (#40487)
subatoi Aug 11, 2023
4b20502
Merge pull request #27390 from github/repo-sync
docs-bot Aug 11, 2023
14a0b02
Fixed typo in understanding-github-code-search-syntax.md (#27374)
catpouch Aug 11, 2023
35819d7
Update licensing-a-repository.md (#27386)
Aug 11, 2023
20a87ab
Merge pull request #40590 from github/repo-sync
docs-bot Aug 11, 2023
32caceb
sec(securing-your-webhooks): use constant time comparator (#27265)
coolaj86 Aug 11, 2023
29210db
Merge pull request #27391 from github/repo-sync
docs-bot Aug 11, 2023
9eaca37
Merge pull request #40591 from github/repo-sync
docs-bot Aug 11, 2023
e32e4ad
Merge pull request #27394 from github/repo-sync
docs-bot Aug 11, 2023
671247c
Update OpenAPI Description (#40596)
docs-bot Aug 11, 2023
9c285a0
try/catch listing the workflow runs (#40546)
rsese Aug 11, 2023
7beed71
Merge pull request #27397 from github/repo-sync
docs-bot Aug 11, 2023
54e971a
Update copy-ssh-public-key.md (#25911)
nam20485 Aug 11, 2023
54f11c8
Merge pull request #40599 from github/repo-sync
docs-bot Aug 11, 2023
1267748
Secret scanning validity checks for partner patterns - [Public Beta] …
am-stead Aug 11, 2023
ceaeec8
empty commit for Early access PR (#40600)
gracepark Aug 11, 2023
f7705e6
Merge pull request #27398 from github/repo-sync
docs-bot Aug 11, 2023
7403206
Remove support versions: * (#40548)
gracepark Aug 11, 2023
b20ec41
Merge pull request #27399 from github/repo-sync
docs-bot Aug 11, 2023
ce42fe9
[How we docs] YAML frontmatter article (#40428)
saritai Aug 11, 2023
9ff4627
Merge pull request #27400 from github/repo-sync
docs-bot Aug 11, 2023
d77cb12
Add blog post and date to required workflow beta note (#40554)
jc-clark Aug 11, 2023
f4d80df
Merge pull request #27402 from github/repo-sync
docs-bot Aug 11, 2023
d6968e1
Make MySQL I/O known issue a reusable in GHES release notes (#40592)
davidjarzebowski Aug 11, 2023
2768487
Merge pull request #27403 from github/repo-sync
docs-bot Aug 11, 2023
a218d76
Update OpenAPI Description (#40650)
docs-bot Aug 14, 2023
6962f47
Codespaces: Bug fix - add sign-in instruction (#40580)
hubwriter Aug 14, 2023
408ca52
Merge pull request #27439 from github/repo-sync
docs-bot Aug 14, 2023
ec3c9f5
Merge pull request #27440 from github/repo-sync
docs-bot Aug 14, 2023
8992f74
Actions: Clarify `env` context (#40587)
hubwriter Aug 14, 2023
837d9d5
Merge pull request #27442 from github/repo-sync
docs-bot Aug 14, 2023
0f90a84
Ability to use Liquid in secret-scanning.yml (#40531)
peterbe Aug 14, 2023
a362fed
Rename 'managing-personal-account-settings' category (#40169)
peterbe Aug 14, 2023
e6c30c9
Merge pull request #27445 from github/repo-sync
docs-bot Aug 14, 2023
e647919
Update login link for passkeys feature preview (#27343)
jlaundry Aug 14, 2023
ea6bfa5
Merge pull request #40734 from github/repo-sync
docs-bot Aug 14, 2023
d5c2410
Update self-service organization settings to reflect the current term…
sophietheking Aug 14, 2023
6442ce0
Merge pull request #27447 from github/repo-sync
docs-bot Aug 14, 2023
63a1883
Add missing code block languages in packages article (#40601)
jhosman Aug 14, 2023
79a8bc7
Update authenticating-as-a-github-app-installation.md (#27409)
lukemartin Aug 14, 2023
65d61c1
Merge pull request #40736 from github/repo-sync
docs-bot Aug 14, 2023
3afb795
Merge pull request #27449 from github/repo-sync
docs-bot Aug 14, 2023
df31584
GraphQL schema update (#40491)
docs-bot Aug 14, 2023
be3bdb1
Merge pull request #40738 from github/repo-sync
docs-bot Aug 14, 2023
33ce5f9
Merge pull request #27450 from github/repo-sync
docs-bot Aug 14, 2023
6efc911
Better and simpler handling of operational errors (#40730)
peterbe Aug 14, 2023
18acb67
Merge pull request #27454 from github/repo-sync
docs-bot Aug 14, 2023
181387f
Replace eslint-plugin-node with eslint-plugin-n (#40743)
peterbe Aug 14, 2023
9c22428
docs: update github-terms-of-service.md with correct mailto link (#27…
wmundev Aug 14, 2023
3b25a18
Merge pull request #40745 from github/repo-sync
docs-bot Aug 14, 2023
2bc4895
Merge pull request #27455 from github/repo-sync
docs-bot Aug 14, 2023
fe1f407
Merge pull request #40746 from github/repo-sync
docs-bot Aug 14, 2023
1ca635d
Merge pull request #27458 from github/repo-sync
docs-bot Aug 14, 2023
c4eae25
[Improvement] Update release note guidelines to include packages secu…
rachaelrenk Aug 14, 2023
ad47d4d
Merge pull request #27460 from github/repo-sync
docs-bot Aug 14, 2023
96cc4b6
Update OpenAPI Description (#40737)
docs-bot Aug 14, 2023
0a77e84
Merge pull request #27461 from github/repo-sync
docs-bot Aug 14, 2023
0177dee
fix incomplete bullets in "creating a tasklist" doc (#27420)
kevindamm Aug 15, 2023
0db4bf7
Add dismissed to Reviewed event state (#27446)
taylorhakes Aug 15, 2023
5261c13
Merge pull request #40773 from github/repo-sync
docs-bot Aug 15, 2023
4b4fa18
Fix typo: `sponsoring-an-open-source-contributor.md` (#27404)
omarcostahamido Aug 15, 2023
54aa58f
add beta jetbrains tool (#40721)
jules-p Aug 15, 2023
8b569e4
Merge pull request #40774 from github/repo-sync
docs-bot Aug 15, 2023
9479f62
Merge pull request #27468 from github/repo-sync
docs-bot Aug 15, 2023
2186c82
feat: updates context menu shortcut for code nav (#27307)
andrialexandrou Aug 15, 2023
23c2375
Merge pull request #40775 from github/repo-sync
docs-bot Aug 15, 2023
3605b85
Merge pull request #27470 from github/repo-sync
docs-bot Aug 15, 2023
6cf895d
Update and improve PowerShell code (#24884)
bjompen Aug 15, 2023
115bbff
Merge pull request #40800 from github/repo-sync
docs-bot Aug 15, 2023
921696a
Add info on octicons with dynamic `aria-label` elements (#40754)
ethanpalm Aug 15, 2023
7ba08bd
Merge pull request #27488 from github/repo-sync
docs-bot Aug 15, 2023
4b03e57
Upgrade to latest Node 18.17.1 (#40796)
peterbe Aug 15, 2023
e79e8e7
Fix GHES versions for issue scanning (#40759)
Aerendel Aug 15, 2023
0951ed7
Merge pull request #27489 from github/repo-sync
docs-bot Aug 15, 2023
d9221e3
scope event schema to event type (#40757)
Ebonsignori Aug 15, 2023
6614911
Merge pull request #27491 from github/repo-sync
docs-bot Aug 15, 2023
4ff0882
Update partner-contributed-documentation.yml (#38827)
cmwilson21 Aug 16, 2023
18dad87
Merge pull request #27499 from github/repo-sync
docs-bot Aug 16, 2023
d91dc84
Fix reference to Bitbucket migrations being in private beta when they…
timrogers Aug 16, 2023
49581ed
Merge pull request #27500 from github/repo-sync
docs-bot Aug 16, 2023
345c252
Upgrade all @primer/ dependencies (#40851)
peterbe Aug 16, 2023
abccf33
Merge pull request #27501 from github/repo-sync
docs-bot Aug 16, 2023
09a41e6
Actions bug fix hour for week of August 07, 2023 (#40816)
SiaraMist Aug 16, 2023
416be80
Merge pull request #27502 from github/repo-sync
docs-bot Aug 16, 2023
ac4700e
Bump lint-staged from 13.0.3 to 14.0.0 (#40815)
dependabot[bot] Aug 16, 2023
79619b6
Merge pull request #27504 from github/repo-sync
docs-bot Aug 16, 2023
f96f505
audit log pipelines: sync script (#40416)
rsese Aug 16, 2023
8784ba7
Specify scope of default environment variables (#24896)
valentin-krasontovitsch Aug 16, 2023
8f0ce2f
Merge pull request #27505 from github/repo-sync
docs-bot Aug 16, 2023
e0588ef
Update OpenAPI Description (#40869)
docs-bot Aug 16, 2023
2192996
[2023-08-16]: Desktop v3.2.8 Updates (#40594)
steveward Aug 16, 2023
9ed105b
Merge pull request #40873 from github/repo-sync
docs-bot Aug 16, 2023
ed8c4cd
Set up the route intercept for Playwright survey tests before (#40872)
peterbe Aug 16, 2023
934a0fb
Update applying-to-be-a-github-campus-expert.md (#27503)
kpatel0170 Aug 16, 2023
1beae77
Merge pull request #40874 from github/repo-sync
docs-bot Aug 16, 2023
ec13ea4
Merge pull request #27506 from github/repo-sync
docs-bot Aug 16, 2023
3e71364
Merge pull request #40875 from github/repo-sync
docs-bot Aug 16, 2023
4ce10b9
Merge pull request #27508 from github/repo-sync
docs-bot Aug 16, 2023
9bc1671
Update section-choosing-the-runner-for-a-job.md (#27493)
lariscy Aug 17, 2023
61b4656
Merge pull request #40899 from github/repo-sync
docs-bot Aug 17, 2023
779c996
Update customizing-your-repositorys-social-media-preview.md (#27463)
lariscy Aug 17, 2023
97190d4
Merge pull request #40900 from github/repo-sync
docs-bot Aug 17, 2023
a56c4c7
Adds list of supported countries to "About GitHub Sponors" article (#…
sophietheking Aug 17, 2023
ff6bdd8
Merge pull request #27537 from github/repo-sync
docs-bot Aug 17, 2023
aa7f8e3
Adding a tip to mention that the given steps to start ssh-agent may n…
sportymsk Aug 17, 2023
4ae508a
Merge pull request #40902 from github/repo-sync
docs-bot Aug 17, 2023
2cc27d2
Updating Copilot for Individual Cancellation flow experience (#40714)
jules-p Aug 17, 2023
8ce0033
Merge pull request #27540 from github/repo-sync
docs-bot Aug 17, 2023
c381d65
Fixes versioning for note about code scanning label for self-hosted r…
subatoi Aug 17, 2023
3a724f3
Merge pull request #27542 from github/repo-sync
docs-bot Aug 17, 2023
55b4377
Codespaces: clarify when custom permissions apply to a codespace (#40…
hubwriter Aug 17, 2023
6ca7a38
Release notes container xl -> md (#40870)
heiskr Aug 17, 2023
898eaaf
Unbreak the find-orphaned-assets.js script (#40911)
peterbe Aug 17, 2023
b46cd9c
Merge pull request #27543 from github/repo-sync
docs-bot Aug 17, 2023
7df6e5e
Merge pull request #27544 from github/repo-sync
docs-bot Aug 17, 2023
2eb9349
Actions Azure VNET beta documentation updates (fast follow) (#40808)
jc-clark Aug 17, 2023
7483023
Merge pull request #27545 from github/repo-sync
docs-bot Aug 17, 2023
96fe6a9
Add Host key verification failed page (#25401)
jsoref Aug 17, 2023
5b59290
Dependabot Grouped Version Updates: Support for Grouping Based on Sem…
sophietheking Aug 17, 2023
84d1174
Merge pull request #27546 from github/repo-sync
docs-bot Aug 17, 2023
ffc6317
Merge pull request #40928 from github/repo-sync
docs-bot Aug 17, 2023
850f1eb
For use of 'en' for all release-notes (#38975)
peterbe Aug 17, 2023
392ff76
Merge pull request #40931 from github/repo-sync
docs-bot Aug 17, 2023
ea48385
Merge pull request #27547 from github/repo-sync
docs-bot Aug 17, 2023
085cf0c
Filter first instead of potentially returning null in a map (#40932)
peterbe Aug 17, 2023
1092179
Merge pull request #27549 from github/repo-sync
docs-bot Aug 17, 2023
ef68c71
Update mobile docs for multi-account updates (#38833)
eliperkins Aug 17, 2023
4760aef
Merge pull request #27553 from github/repo-sync
docs-bot Aug 17, 2023
4c339a3
Fix branches -> branches-ignore (#27498)
FidelusAleksander Aug 17, 2023
efe9997
A11y: guides, learning track, and landings (#40936)
heiskr Aug 17, 2023
6ce83dd
Merge pull request #40937 from github/repo-sync
docs-bot Aug 17, 2023
0221443
Merge pull request #27554 from github/repo-sync
docs-bot Aug 17, 2023
9ba9157
A11y fjdsklafjdsalfhdskjahfjdlsa (#40938)
heiskr Aug 17, 2023
70b49cc
Merge pull request #27555 from github/repo-sync
docs-bot Aug 17, 2023
58a6ca0
Actions bug fix hour (#40735)
hubwriter Aug 18, 2023
937a86d
Merge pull request #27559 from github/repo-sync
docs-bot Aug 18, 2023
222f855
Remove CVE-2023-23765 (#40930)
Miskerest Aug 18, 2023
de0755b
Make it "your app" instead of "you app" (#40968)
gm3dmo Aug 18, 2023
6dd3a8b
Upgrade caniuse-lite @1.0.30001521 (#40929)
peterbe Aug 18, 2023
2cbea48
Merge pull request #27561 from github/repo-sync
docs-bot Aug 18, 2023
c621205
Merge pull request #27562 from github/repo-sync
docs-bot Aug 18, 2023
f58ab0a
Better document that GitHub Enterprise Importer doesn't migrate Actio…
timrogers Aug 18, 2023
13a83ac
Merge pull request #27564 from github/repo-sync
docs-bot Aug 18, 2023
191e1df
Update adding-items-to-your-project.md (#40555)
rileybroughten Aug 18, 2023
124f245
Merge pull request #27565 from github/repo-sync
docs-bot Aug 18, 2023
ca40598
Delete orphaned assets (2023-08-17-16-40) (#40922)
docs-bot Aug 18, 2023
e02a642
Update OpenAPI Description (#40920)
docs-bot Aug 18, 2023
ff3a7a4
A11y: add underline to learning track card link (#40984)
heiskr Aug 18, 2023
9b9c4d0
Merge pull request #27566 from github/repo-sync
docs-bot Aug 18, 2023
d0c75e2
Merge pull request #27567 from github/repo-sync
docs-bot Aug 18, 2023
72803a3
Fix Gradle link (#40985)
isaacmbrown Aug 18, 2023
46115f7
Merge pull request #27569 from github/repo-sync
docs-bot Aug 18, 2023
afb6ca7
Update OpenAPI Description (#40990)
docs-bot Aug 18, 2023
8d2de79
Adding audit log actions workflow (#37253)
gracepark Aug 18, 2023
4a29b71
A11y autogen (#40991)
heiskr Aug 18, 2023
20be614
Merge pull request #27570 from github/repo-sync
docs-bot Aug 18, 2023
87c5706
Remove hard file size limits (#40987)
vaindil Aug 18, 2023
69b95fe
Merge pull request #27572 from github/repo-sync
docs-bot Aug 18, 2023
c4de38e
Correct and change cron tab to every run more frequently (#40998)
peterbe Aug 18, 2023
de9c8d5
Merge pull request #27573 from github/repo-sync
docs-bot Aug 18, 2023
af5cf3a
Use Login with Amazon branding (#40861)
marzvrover Aug 18, 2023
b9e8bce
Update just-in-time runners versioning and release note (#40945)
jc-clark Aug 18, 2023
661c203
Merge pull request #27574 from github/repo-sync
docs-bot Aug 18, 2023
e659a50
A11y: Remove selected prop from underlinenav link (#41002)
heiskr Aug 18, 2023
be1df9f
Merge pull request #27575 from github/repo-sync
docs-bot Aug 18, 2023
669e7da
[Improvement] Remove content in "Site admin dashboard" (#40878)
rachaelrenk Aug 18, 2023
b5fb2f2
Merge pull request #27576 from github/repo-sync
docs-bot Aug 18, 2023
07f8bdb
Bump azure/CLI from d88d5767d50cde2679128b45d287ec5b98df892e to b0e31…
dependabot[bot] Aug 19, 2023
db5a276
Merge pull request #27591 from github/repo-sync
docs-bot Aug 19, 2023
b8010f3
Deduplicate and add missing GHES known issue about Mermaid diagrams (…
mattpollard Aug 21, 2023
4f6f465
[GitHub Actions] Fail fast from the default shells (bash/sh) in Linux…
iamazeem Aug 21, 2023
37bd195
Bug fix PR: use "organization owner" not "organization admin" (#40983)
hubwriter Aug 21, 2023
e83430a
Merge pull request #41129 from github/repo-sync
docs-bot Aug 21, 2023
71509f2
Merge pull request #27596 from github/repo-sync
docs-bot Aug 21, 2023
d66483b
Merge pull request #41131 from github/repo-sync
docs-bot Aug 21, 2023
f99a49c
Merge pull request #27598 from github/repo-sync
docs-bot Aug 21, 2023
0f88f09
Make shortTitle consistent in Security Overview article (remove gerun…
mchammer01 Aug 21, 2023
5970cb5
Merge pull request #27602 from github/repo-sync
docs-bot Aug 21, 2023
8922560
[Improvement] Document Kerberos support in Copilot (#40916)
isaacmbrown Aug 21, 2023
f7df2f2
Merge pull request #27603 from github/repo-sync
docs-bot Aug 21, 2023
9c81ef9
Update OpenAPI Description (#41048)
docs-bot Aug 21, 2023
28e4539
Merge pull request #27604 from github/repo-sync
docs-bot Aug 21, 2023
d78526f
Update and rename translations-for-writers.md to Cachiman
WontonSam Aug 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ body:
attributes:
value: |
Once all tasks are completed, please mention `@github/docs-content` for next steps.
/cc @github/partner-engineering for :eyes:.
/cc @github/technology-partnerships-and-engineering for :eyes:.
2 changes: 2 additions & 0 deletions .github/actions-scripts/purge-old-deployment-environments.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ async function main() {
repo,
})

console.log(`Found ${environments.length.toLocaleString()} environments in total`)

let countDeletions = 0
for (const environment of environments) {
const ageDays = (Date.now() - Date.parse(environment.created_at)) / 1000 / 60 / 60 / 24
Expand Down
74 changes: 62 additions & 12 deletions .github/actions-scripts/purge-old-workflow-runs.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async function main() {
const MAX_DELETIONS = parseInt(JSON.parse(process.env.MAX_DELETIONS || '100'))
const MIN_AGE_DAYS = parseInt(process.env.MIN_AGE_DAYS || '90', 10)

const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/')
const [owner, repo] = (process.env.GITHUB_REPOSITORY || 'github/docs-internal').split('/')
if (!owner || !repo) {
throw new Error('GITHUB_REPOSITORY environment variable not set')
}
Expand All @@ -46,15 +46,35 @@ async function main() {
// In practice it appears to list those that are oldest first.
// But to guarantee that it reaches the oldest, we paginate over
// all of them.
const allWorkflows = await github.paginate('GET /repos/{owner}/{repo}/actions/workflows', {
owner,
repo,
})
let allWorkflows = []

try {
allWorkflows = await github.paginate('GET /repos/{owner}/{repo}/actions/workflows', {
owner,
repo,
})
} catch (error) {
console.log('Error happened when getting workflows')
console.warn('Status: %O', error.status)
console.warn('Message: %O', error.message)

// Generally, if it fails, it's because of a network error or
// because busy servers. It's not our fault, but considering that
// this script is supposed to run on frequent schedule, we don't
// need to fret. We'll just try again next time.
if (isOperationalError(error.status, error.message)) {
return
} else {
throw error
}
}

const validWorkflows = allWorkflows.filter((w) => !w.path.startsWith('dynamic/'))

const sortByDate = (a, b) => a.updated_at.localeCompare(b.updated_at)
const workflows = [
...allWorkflows.filter((w) => !fs.existsSync(w.path)).sort(sortByDate),
...allWorkflows.filter((w) => fs.existsSync(w.path)).sort(sortByDate),
...validWorkflows.filter((w) => !fs.existsSync(w.path)).sort(sortByDate),
...validWorkflows.filter((w) => fs.existsSync(w.path)).sort(sortByDate),
]

let deletions = 0
Expand All @@ -65,11 +85,27 @@ async function main() {
? `${workflow.path} still exists on disk`
: `${workflow.path} no longer exists on disk`,
)
deletions += await deleteWorkflowRuns(github, owner, repo, workflow, {
dryRun: DRY_RUN,
minAgeDays: MIN_AGE_DAYS,
maxDeletions: MAX_DELETIONS - deletions,
})
try {
deletions += await deleteWorkflowRuns(github, owner, repo, workflow, {
dryRun: DRY_RUN,
minAgeDays: MIN_AGE_DAYS,
maxDeletions: MAX_DELETIONS - deletions,
})
} catch (error) {
console.log("Error happened when calling 'deleteWorkflowRuns'")
console.warn('Status: %O', error.status)
console.warn('Message: %O', error.message)

// Generally, if it fails, it's because of a network error or
// because busy servers. It's not our fault, but considering that
// this script is supposed to run on frequent schedule, we don't
// need to fret. We'll just try again next time.
if (isOperationalError(error.status, error.message)) {
break
} else {
throw error
}
}

if (deletions >= MAX_DELETIONS) {
console.log(`Reached max number of deletions: ${MAX_DELETIONS}`)
Expand All @@ -79,6 +115,20 @@ async function main() {
console.log(`Deleted ${deletions} runs in total`)
}

function isOperationalError(status, message) {
if (status && status >= 500) {
return true
}
if (/Unable to delete logs while the workflow is running/.test(message)) {
return true
}
if (status === 403 && /API rate limit exceeded/.test(message)) {
return true
}

return false
}

async function deleteWorkflowRuns(
github,
owner,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/azure-preview-env-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ jobs:
rsync -rptovR ./user-code/components/./**/*.{scss,ts,tsx} ./components
rsync -rptovR --ignore-missing-args ./user-code/lib/./**/*.{js,ts} ./lib
rsync -rptovR --ignore-missing-args ./user-code/middleware/./**/*.{js,ts} ./middleware
rsync -rptovR ./user-code/pages/./**/*.tsx ./pages
rsync -rptovR ./user-code/src/./**/*.tsx ./src
rsync -rptovR ./user-code/stylesheets/./**/*.scss ./stylesheets

- uses: ./.github/actions/warmup-remotejson-cache
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/no-response.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,17 @@ permissions:
jobs:
noResponse:
runs-on: ubuntu-latest
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
if: github.repository == 'github/docs'
steps:
- uses: lee-dohm/no-response@9bb0a4b5e6a45046f00353d5de7d90fb8bd773bb
- uses: actions/stale@184e7afe930f6b5c7ce52c4b3f087692c6e912f3
with:
token: ${{ secrets.GITHUB_TOKEN }}
closeComment: >
repo-token: ${{ secrets.GITHUB_TOKEN }}
only-labels: 'more-information-needed'
days-before-stale: -1
days-before-issue-stale: 14
days-before-close: -1
days-before-issue-close: 0
close-issue-message: >
This issue has been automatically closed because there has been no response
to our request for more information from the original author. With only the
information that is currently in the issue, we don't have enough information
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/purge-old-deployment-environments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name: Purge old deployment environments
on:
workflow_dispatch:
schedule:
- cron: '20 16 * * *' # Run every day at 16:20 UTC / 8:20 PST
- cron: '20 */3 * * *' # Run every 3 hours at 20 minutes past the hour

permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/purge-old-workflow-runs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Purge old workflow runs
on:
workflow_dispatch:
schedule:
- cron: '20 */3 * * *' # Run every day at 16:20 UTC / 8:20 PST
- cron: '20 */2 * * *' # Run every 2 hours at 20 minutes past the hour

permissions:
contents: write
Expand Down
114 changes: 114 additions & 0 deletions .github/workflows/sync-audit-logs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
name: Sync Audit Log data

# **What it does**: This updates our Audit Logs schema.
# **Why we have it**: We want our Audit Logs up to date.
# **Who does it impact**: Docs engineering, people reading Audit Logs.

on:
workflow_dispatch:

permissions:
contents: write
pull-requests: write

# **IMPORTANT:** Do not change the FREEZE environment variable set here!
# This workflow runs on a recurring basis. To temporarily disable it (e.g.,
# during a docs deployment freeze), add an Actions Secret to the repo settings
# called `FREEZE` with a value of `true`. To re-enable Audit Logs updates, simply
# delete that Secret from the repo settings. The environment variable here
# will duplicate that Secret's value for later evaluation.
env:
FREEZE: ${{ secrets.FREEZE }}

# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true

jobs:
update_audit_logs_files:
if: github.repository == 'github/docs-internal'
runs-on: ubuntu-latest
steps:
- if: ${{ env.FREEZE == 'true' }}
run: |
echo 'The repo is currently frozen! Exiting this workflow.'
exit 1 # prevents further steps from running

- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab

- uses: ./.github/actions/node-npm-setup

- name: Run updater script
env:
# need to use a token from a user with access to github/audit-log-allowlists for this step
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }}
run: |
src/audit-logs/scripts/sync.js

- name: Check if changes exist
id: changes-exist
run: |
# If nothing to commit, exit now. It's fine. No orphans.
changes=$(git diff --name-only | wc -l)
untracked=$(git status --untracked-files --short | wc -l)
if [[ $changes -eq 0 ]] && [[ $untracked -eq 0 ]]; then
echo "There are no changes to commit after running src/audit-logs/scripts/sync.js. Exiting..."
echo "CHANGES_EXIST=false" >> "$GITHUB_OUTPUT"
exit 0
else
echo "CHANGES_EXIST=true" >> "$GITHUB_OUTPUT"
fi

- name: Create pull request
if: ${{ steps.changes-exist.outputs.CHANGES_EXIST == 'true' }}
id: create-pull-request
uses: peter-evans/create-pull-request@5b4a9f6a9e2af26e5f02351490b90d01eb8ec1e5 # pin @v5.0.0
env:
# Disable pre-commit hooks; they don't play nicely here
HUSKY: '0'
with:
# Need to use a token with repo and workflow scopes for this step.
# Token should be a PAT because actions performed with GITHUB_TOKEN
# don't trigger other workflows and this action force pushes updates
# from the default branch.
token: ${{ secrets.DOCS_BOT_PAT_WORKFLOW }}
commit-message: 'Update Audit Logs data files'
title: Audit Logs schema update
body:
"Hello! Some Audit Logs data in github/audit-log-allowlists was updated recently. This PR
syncs up the Audit Logs data in this repo.\n\n
If CI passes, this PR will be auto-merged. :green_heart:\n\n
If CI does not pass or other problems arise, contact #docs-engineering on slack."
branch: audit-logs-schema-update

- name: Enable GitHub auto-merge
if: ${{ steps.create-pull-request.outputs.pull-request-number }}
env:
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
AUTOMERGE_PR_NUMBER: ${{ steps.create-pull-request.outputs.pull-request-number }}
run: node .github/actions-scripts/enable-automerge.js

- if: ${{ failure() && env.FREEZE != 'true'}}
name: Delete remote branch (if previous steps failed)
uses: dawidd6/action-delete-branch@47743101a121ad657031e6704086271ca81b1911
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branches: audit-logs-schema-update

- if: ${{ steps.create-pull-request.outputs.pull-request-number }}
name: Approve
uses: juliangruber/approve-pull-request-action@dcc4effb325c0b503408619918d56e40653dcc91
with:
github-token: ${{ secrets.DOCUBOT_REPO_PAT }}
number: ${{ steps.create-pull-request.outputs.pull-request-number }}

# - name: Send Slack notification if workflow fails
# uses: someimportantcompany/github-actions-slack-message@1d367080235edfa53df415bd8e0bbab480f29bad
# if: ${{ failure() && env.FREEZE != 'true' }}
# with:
# channel: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
# bot-token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}
# color: failure
# text: The last sync-audit-logs run for ${{github.repository}} failed. See https://github.com/${{github.repository}}/actions/workflows/sync-audit-logs.yml
4 changes: 2 additions & 2 deletions .github/workflows/translation-health-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
# https://learn.microsoft.com/en-us/cli/azure/storage/blob?view=azure-cli-latest#az-storage-blob-upload
# https://github.com/marketplace/actions/azure-cli-action
- name: Upload latest to Azure blob storage
uses: azure/CLI@d88d5767d50cde2679128b45d287ec5b98df892e
uses: azure/CLI@b0e31ae20280d899279f14c36e877b4c6916e2d3 # pin @v1.0.8
with:
inlineScript: |
az storage blob upload \
Expand All @@ -113,7 +113,7 @@ jobs:
--overwrite true

- name: Upload date formatted to Azure blob storage
uses: azure/CLI@d88d5767d50cde2679128b45d287ec5b98df892e
uses: azure/CLI@b0e31ae20280d899279f14c36e877b4c6916e2d3 # pin @v1.0.8
with:
inlineScript: |
# Write a date formatted for historical reference
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# --------------------------------------------------------------------------------
# To update the sha, run `docker pull node:$VERSION-alpine`
# look for something like: `Digest: sha256:0123456789abcdef`
FROM node:18-alpine@sha256:58878e9e1ed3911bdd675d576331ed8838fc851607aed3bb91e25dfaffab3267 as base
FROM node:18-alpine@sha256:3482a20c97e401b56ac50ba8920cc7b5b2022bfc6aa7d4e4c231755770cf892f as base

# This directory is owned by the node user
ARG APP_HOME=/home/node/app
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed assets/images/help/copilot/allow-all-members.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/help/copilot/copilot-cancel-trial.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added assets/images/help/desktop/branch-item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/help/desktop/checkout-commit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed assets/images/help/projects/add-column.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed assets/images/help/settings/cookie-settings-save.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
3 changes: 2 additions & 1 deletion components/article/ArticleInlineLayout.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import "@primer/css/support/index.scss";
@import "@primer/css/support/variables/layout.scss";
@import "@primer/css/support/mixins/layout.scss";
@import "stylesheets/breakpoint-xxl.scss";

.containerBox {
Expand Down
3 changes: 2 additions & 1 deletion components/page-header/Header.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import "@primer/css/support/index.scss";
@import "@primer/css/support/variables/layout.scss";
@import "@primer/css/support/mixins/layout.scss";

.header {
display: unset;
Expand Down
7 changes: 0 additions & 7 deletions components/ui/TruncateLines/TruncateLines.module.scss

This file was deleted.

20 changes: 0 additions & 20 deletions components/ui/TruncateLines/TruncateLines.tsx

This file was deleted.

1 change: 0 additions & 1 deletion components/ui/TruncateLines/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ versions:
topics:
- Accounts
children:
- /managing-personal-account-settings
- /managing-user-account-settings
- /managing-your-personal-account
- /managing-email-preferences
- /managing-access-to-your-personal-repositories
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ You can send an invitation to collaborate in your repository directly to someone

## Further reading

- "[AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/permission-levels-for-a-personal-account-repository#collaborator-access-for-a-repository-owned-by-a-personal-account)"
- "[AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/permission-levels-for-a-personal-account-repository#collaborator-access-for-a-repository-owned-by-a-personal-account)"
- "[AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/removing-a-collaborator-from-a-personal-repository)"
- "[AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/removing-yourself-from-a-collaborators-repository)"
- "[AUTOTITLE](/organizations/organizing-members-into-teams)"
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ To ensure that commits are attributed to you and appear in your contributions gr

{% endnote %}

If you use your `noreply` email address for {% data variables.product.product_name %} to make commits and then [change your username](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/changing-your-github-username), those commits will not be associated with your account on {% data variables.location.product_location %}. This does not apply if you're using the ID-based `noreply` address from {% data variables.product.product_name %}. For more information, see "[AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/changing-your-github-username)."{% endif %}
If you use your `noreply` email address for {% data variables.product.product_name %} to make commits and then [change your username](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/changing-your-github-username), those commits will not be associated with your account on {% data variables.location.product_location %}. This does not apply if you're using the ID-based `noreply` address from {% data variables.product.product_name %}. For more information, see "[AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/changing-your-github-username)."{% endif %}

## Setting your commit email address on {% data variables.product.prodname_dotcom %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ redirect_from:
- /github/setting-up-and-managing-your-github-user-account/about-your-personal-dashboard
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/about-your-personal-dashboard
- /account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/about-your-personal-dashboard
- /account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/about-your-personal-dashboard
intro: 'You can visit your personal dashboard to keep track of issues and pull requests you''re working on or following, navigate to your top repositories and team pages, stay updated on recent activities in organizations and repositories you''re subscribed to, and explore recommended repositories.'
versions:
fpt: '*'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ redirect_from:
- /github/setting-up-and-managing-your-github-user-account/changing-your-github-username
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/changing-your-github-username
- /account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/changing-your-github-username
- /account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/changing-your-github-username
versions:
fpt: '*'
ghes: '*'
Expand Down
Loading