1
0
mirror of synced 2026-01-05 12:07:35 -05:00
Commit Graph

22790 Commits

Author SHA1 Message Date
Govind Krishnan
7f75fe7fff Edit as per review 2022-03-21 21:10:03 +05:30
Govind Krishnan
2f99d323f4 Merge branch 'main' into main 2022-03-20 15:35:05 +05:30
Octomerger Bot
932c87f8e0 Merge pull request #16390 from github/repo-sync
repo sync
2022-03-19 11:29:24 -07:00
Octomerger Bot
600e79edab Merge branch 'main' into repo-sync 2022-03-19 11:25:37 -07:00
docubot
027f62e057 New translation batch for pt (#26344)
* Add crowdin translations

* Run script/i18n/homogenize-frontmatter.js

* Run script/i18n/fix-translation-errors.js

* Run script/i18n/lint-translation-files.js --check rendering

* run script/i18n/reset-files-with-broken-liquid-tags.js --language=pt

* run script/i18n/reset-known-broken-translation-files.js

* Check in pt CSV report
2022-03-19 17:57:00 +00:00
Octomerger Bot
41c646bbd6 Merge pull request #16386 from github/repo-sync
repo sync
2022-03-19 09:28:51 -07:00
Octomerger Bot
14b92f7d5f Merge branch 'main' into repo-sync 2022-03-19 09:24:07 -07:00
Peter Bengtsson
b685b6fda7 don't need disk caching for site data (#26333)
* reinstate

* start server manually

* routing tests too

* skip more

* sleep more and fail if not 200

* use e2etest for content/ too

* automatically start server for jest

* does this work?

* feedbacked

* rename things

* getting it to work

* add dev dependency

* install the right version

* don't need to start that

* fix package lock

* update readme about it

* feedbacked

* don't need disk caching for site-data
2022-03-19 16:05:27 +00:00
Octomerger Bot
35d25488a0 Merge pull request #16385 from github/repo-sync
repo sync
2022-03-19 04:51:23 -07:00
Octomerger Bot
bdf613180c Merge branch 'main' into repo-sync 2022-03-19 04:47:51 -07:00
Octomerger Bot
3652fcff32 Merge pull request #16382 from github/repo-sync
repo sync
2022-03-19 04:22:25 -07:00
Laura Coursen
ae8a928909 Networking requirements and resolution for GitHub Actions on GHES (#25622) 2022-03-19 10:48:19 +00:00
GitHub Actions
8179107ae8 update search indexes 2022-03-19 10:08:44 +00:00
Octomerger Bot
3088742433 Merge pull request #16378 from github/repo-sync
repo sync
2022-03-18 19:57:57 -07:00
Octomerger Bot
595602cc16 Merge branch 'main' into repo-sync 2022-03-18 19:54:17 -07:00
GitHub Actions
317b67bc29 update search indexes 2022-03-19 02:46:12 +00:00
Octomerger Bot
b9788703e0 Merge pull request #16376 from github/repo-sync
repo sync
2022-03-18 15:27:07 -07:00
Octomerger Bot
641c83bad8 Merge branch 'main' into repo-sync 2022-03-18 15:23:22 -07:00
Octomerger Bot
c8d95d754d Merge pull request #16375 from github/repo-sync
repo sync
2022-03-18 14:50:25 -07:00
Octomerger Bot
3dd7af44d6 Merge branch 'main' into repo-sync 2022-03-18 14:46:54 -07:00
Peter Bengtsson
4fcd3ae25f automatically start server for jest (#26206)
* reinstate

* start server manually

* routing tests too

* skip more

* sleep more and fail if not 200

* use e2etest for content/ too

* automatically start server for jest

* does this work?

* feedbacked

* rename things

* getting it to work

* add dev dependency

* install the right version

* don't need to start that

* fix package lock

* update readme about it

* feedbacked
2022-03-18 21:46:07 +00:00
docubot
c050d0f0d1 New translation batch for ja (#26329)
* Add crowdin translations

* Run script/i18n/homogenize-frontmatter.js

* Run script/i18n/lint-translation-files.js --check parsing

* Run script/i18n/lint-translation-files.js --check rendering

* run script/i18n/reset-files-with-broken-liquid-tags.js --language=ja

* run script/i18n/reset-known-broken-translation-files.js

* Check in ja CSV report
2022-03-18 21:40:23 +00:00
docubot
3f8ba08102 New translation batch for cn (#26327)
* Add crowdin translations

* Run script/i18n/homogenize-frontmatter.js

* Run script/i18n/lint-translation-files.js --check parsing

* run script/i18n/reset-files-with-broken-liquid-tags.js --language=cn

* run script/i18n/reset-known-broken-translation-files.js

* Check in cn CSV report

Co-authored-by: Robert Sese <rsese@github.com>
2022-03-18 21:36:16 +00:00
Octomerger Bot
0625d3b2ec Merge pull request #16374 from github/repo-sync
repo sync
2022-03-18 14:26:54 -07:00
Peter Bengtsson
8362602503 do rendering end-to-end tests with a real server (#26169)
* reinstate

* start server manually

* routing tests too

* skip more

* sleep more and fail if not 200

* use e2etest for content/ too

* feedbacked
2022-03-18 17:06:12 -04:00
Octomerger Bot
84d1a6bcc9 Merge pull request #26330 from github/repo-sync
repo sync
2022-03-18 13:59:40 -07:00
Octomerger Bot
407936c2a5 Merge branch 'main' into repo-sync 2022-03-18 13:52:15 -07:00
Peter Bengtsson
3d298dd88d CLI tool to rename file or tree (#25306)
* CLI tool to rename file or tree

* it works

* progress

* progress

* wip

* wip

* wip

* debugging

* fixed

* remove console logging

* add support for also updating learning-tracks

* cope with the 'children' key in the root content/index.md unicorn

* update childGroups too

* guardrails

* refactor

* tidying up arguments

* refactored for single files

* nicer error in pre-validation of the first file argument

* regression fix

* fix for moving directories

* delete lib/redirects/.redirects-cache.json if present
2022-03-18 20:44:43 +00:00
Octomerger Bot
964c50915d Merge pull request #16366 from github/repo-sync
repo sync
2022-03-18 12:55:38 -07:00
Octomerger Bot
3c3cb28857 Merge pull request #26328 from github/repo-sync
repo sync
2022-03-18 12:55:29 -07:00
Octomerger Bot
0f51212ca3 Merge branch 'main' into repo-sync 2022-03-18 12:51:07 -07:00
Octomerger Bot
7721ac50f9 Merge branch 'main' into repo-sync 2022-03-18 12:50:03 -07:00
docubot
1543771232 New translation batch for es (#26325)
* Add crowdin translations

* Run script/i18n/homogenize-frontmatter.js

* Run script/i18n/fix-translation-errors.js

* Run script/i18n/lint-translation-files.js --check parsing

* run script/i18n/reset-files-with-broken-liquid-tags.js --language=es

* run script/i18n/reset-known-broken-translation-files.js

* Check in es CSV report

Co-authored-by: Robert Sese <rsese@github.com>
2022-03-18 19:34:45 +00:00
Robert Sese
dd29668b82 Merge pull request #16350 from CommanderRoot/rm-deprecated-substr
chore: replace deprecated String.prototype.substr()
2022-03-18 14:33:54 -05:00
Robert Sese
5392c3b65d Merge branch 'main' into rm-deprecated-substr 2022-03-18 14:28:03 -05:00
Octomerger Bot
aa97005e23 Merge pull request #16364 from github/repo-sync
repo sync
2022-03-18 12:27:43 -07:00
Octomerger Bot
1bb6943e7d Merge branch 'main' into repo-sync 2022-03-18 12:22:35 -07:00
Peter Bengtsson
c29106bf83 remove 'de' as a possible NextJS redirect language (#26315) 2022-03-18 19:19:36 +00:00
docubot
30e72fb2d4 New translation batch for pt (#26323)
* Add crowdin translations

* Run script/i18n/homogenize-frontmatter.js

* Run script/i18n/fix-translation-errors.js

* Run script/i18n/lint-translation-files.js --check parsing

* Run script/i18n/lint-translation-files.js --check rendering

* run script/i18n/reset-files-with-broken-liquid-tags.js --language=pt

* run script/i18n/reset-known-broken-translation-files.js

Co-authored-by: Robert Sese <rsese@github.com>
2022-03-18 18:56:43 +00:00
Octomerger Bot
de4917a113 Merge pull request #16363 from github/repo-sync
repo sync
2022-03-18 11:56:10 -07:00
Octomerger Bot
a1a3a8ca58 Merge branch 'main' into repo-sync 2022-03-18 11:51:52 -07:00
Mariam
9a6184d64a Update partner-secret-list-public-repo.md (#26322) 2022-03-18 18:29:39 +00:00
Octomerger Bot
75e3ddd217 Merge pull request #16359 from github/repo-sync
repo sync
2022-03-18 09:00:54 -07:00
Peter Bengtsson
379897a985 upgrade eslint plus cousins (#26316) 2022-03-18 11:39:10 -04:00
Octomerger Bot
06b5ead863 Merge pull request #26314 from github/repo-sync
repo sync
2022-03-18 07:40:08 -07:00
Octomerger Bot
1f41f10225 Merge branch 'main' into repo-sync 2022-03-18 07:31:39 -07:00
Brendon Smith
06cf952123 Document how to use secrets with if: conditionals in GitHub Actions workflows (#12722)
* 🔒 Document how to use secrets with `if:`

github/docs#6861
github/docs#12722

- Add a complete workflow example to `jobs.<job_id>.steps[*].if`,
  demonstrating how to skip a step if a secret is not present
- Add an explanation to "Using encrypted secrets in a workflow"
- Cross-reference the two pages

* 🔒 Compare secrets with empty strings in `if:`

github/docs#6861
https://github.com/github/docs/pull/12722#discussion_r801011000

Rather than referencing two secrets:

1. `${{ secrets.SECRET_IS_SET }}`
2. `${{ secrets.SECRET_IS_NOT_SET }}`)

This commit will update the related section of the docs to reference a
single secret (`${{ secrets.SECRET_IS_SET }}`), and will update the
`if:` conditionals to compare with empty strings as suggested.

* 🔒 Add missing `{% raw %}`/`{% endraw %}`

github/docs#6861
github/docs#12722

Some `${{ }}` values were converted to `$` in the preview environment.
Adding `{% raw %}`/`{% endraw %}` will preserve the raw value.

* 🔒 Match variable and secret names in examples

github/docs#6861
https://github.com/github/docs/pull/12722#discussion_r801011000

This PR adds an example of how to use secrets with `if:` conditionals.
The reviewer suggested comparing variable values with empty strings to
make the `if:` conditionals clearer.

Commit cecdf00 updated the secret names accordingly, but the names of
the secret and environment variable may still have been confusing.

This commit will update the secret and environment variable names to
match the cross-referenced example on the "Encrypted secrets" page.

* Update content/actions/using-workflows/workflow-syntax-for-github-actions.md

Co-authored-by: hubwriter <hubwriter@github.com>
2022-03-18 14:20:40 +00:00
Octomerger Bot
4155b925ad Merge pull request #26313 from github/repo-sync
repo sync
2022-03-18 07:04:13 -07:00
Vanessa
e913ff3c3b Merge pull request #16137 from riteshsp2000/fix/#14492
fix: add a note to install the webrick gem for Ruby 3.0 users
2022-03-18 23:19:22 +10:00
Ramya Parimi
b412efad2e Merge branch 'main' into fix/#14492 2022-03-18 08:03:01 -05:00