1
0
mirror of synced 2026-01-07 09:01:31 -05:00
Commit Graph

22745 Commits

Author SHA1 Message Date
Mariam
9a6184d64a Update partner-secret-list-public-repo.md (#26322) 2022-03-18 18:29:39 +00: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
Octomerger Bot
e636651a66 Merge pull request #16351 from github/repo-sync
repo sync
2022-03-18 03:55:43 -07:00
Octomerger Bot
5198e711da Merge branch 'main' into repo-sync 2022-03-18 03:50:02 -07:00
mc
28a7ce3fcb Add overview article about supply chain security (#25835)
* add overview article
2022-03-18 10:30:41 +00:00
Octomerger Bot
8f53010c67 Merge pull request #16349 from github/repo-sync
repo sync
2022-03-18 02:54:01 -07:00
Octomerger Bot
55fc92aacf Merge branch 'main' into repo-sync 2022-03-18 02:48:45 -07:00
hubwriter
1be8da450a Change publisher of open-reusables extension
Changed publisher to AlistairChristie to pick up the extension from the VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=AlistairChristie.open-reusables
2022-03-18 09:23:08 +00:00
Octomerger Bot
2a91893b3d Merge pull request #16347 from github/repo-sync
repo sync
2022-03-17 23:57:12 -07:00
Octomerger Bot
7e223bfd52 Merge branch 'main' into repo-sync 2022-03-17 23:51:35 -07:00
Martin Lopes
392432d7a2 Fixes broken links (#26308) 2022-03-18 16:31:12 +10:00
Vanessa
c9e4ba77ec Merge branch 'main' into fix/#14492 2022-03-18 09:25:44 +10:00
Octomerger Bot
7dd5a04df8 Merge pull request #16341 from github/repo-sync
repo sync
2022-03-17 14:53:29 -07:00
Octomerger Bot
1142857236 Merge branch 'main' into repo-sync 2022-03-17 14:48:57 -07:00
dependabot[bot]
0f7fb8b015 Bump EndBug/add-and-commit from 8.0.1 to 9 (#26277)
Bumps [EndBug/add-and-commit](https://github.com/EndBug/add-and-commit) from 8.0.1 to 9.
- [Release notes](https://github.com/EndBug/add-and-commit/releases)
- [Changelog](https://github.com/EndBug/add-and-commit/blob/main/CHANGELOG.md)
- [Commits](756d9ea820...050a667872)

---
updated-dependencies:
- dependency-name: EndBug/add-and-commit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Robert Sese <rsese@github.com>
2022-03-17 21:41:31 +00:00
docubot
2934abc8bb New translation batch for ja (#26302)
* 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

Co-authored-by: Robert Sese <rsese@github.com>
2022-03-17 16:34:20 -05:00
Octomerger Bot
714f2e5d21 Merge pull request #16339 from github/repo-sync
repo sync
2022-03-17 14:29:10 -07:00
docubot
95e0073eb4 New translation batch for cn (#26301)
* 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=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-17 16:23:52 -05:00
Octomerger Bot
20f4b95838 Merge branch 'main' into repo-sync 2022-03-17 14:21:25 -07:00
docubot
25ad3b5d76 New translation batch for es (#26299)
* 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

Co-authored-by: Robert Sese <rsese@github.com>
2022-03-17 21:14:00 +00:00
docubot
a5dc6bdcc0 New translation batch for pt (#26297)
* 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-17 21:03:06 +00:00
Octomerger Bot
531b84e53d Merge pull request #16337 from github/repo-sync
repo sync
2022-03-17 11:54:18 -07:00
Octomerger Bot
03d9915e90 Merge branch 'main' into repo-sync 2022-03-17 11:49:40 -07:00
GitHub Actions
d7e40bf327 update search indexes 2022-03-17 18:33:48 +00:00
Octomerger Bot
48bbde15a8 Merge pull request #16335 from github/repo-sync
repo sync
2022-03-17 11:27:46 -07:00
Felicity Chapman
c217c41541 Fix a typo (#26298) 2022-03-17 18:12:54 +00:00
Adam B
d4a3424ff0 Updating docs for new renderable in markdown and mermaid file support (#26204) 2022-03-17 17:42:37 +00:00
Octomerger Bot
ea6ac7363a Merge pull request #26294 from github/repo-sync
repo sync
2022-03-17 10:35:43 -07:00
docubot
16376f02f4 Merge branch 'main' into repo-sync 2022-03-17 10:32:06 -07:00
mc
7b405ec6b1 Supply chain restructuring (#26105)
* reorganize supply chain docs
2022-03-17 17:31:04 +00:00
Octomerger Bot
9f8091e8b9 Merge branch 'main' into repo-sync 2022-03-17 10:30:08 -07:00
Grace Park
2c8713037d Move deploy keys from deployments to keys in rest pages (#26166)
* move deploy keys from deployments to keys in rest pages

* move minitocs above intro

* Update content/rest/reference/keys.md

Co-authored-by: Sarah Edwards <skedwards88@github.com>

* add to banner, add redirects from deployments

* remove deploy keys from deployments intro

* update data/reusables name

* update - to _

* update script and add redirects for subcategories turned categories

Co-authored-by: Sarah Edwards <skedwards88@github.com>
2022-03-17 17:25:12 +00:00
Sarita Iyer
0fd7c41edc Merge pull request #26077 from github/code-scanning-alerts-default-branch
Code scanning alerts being only for default branches
2022-03-17 13:18:39 -04:00
Sarita Iyer
0b1165ed9e Merge branch 'main' into code-scanning-alerts-default-branch 2022-03-17 13:15:09 -04:00
Octomerger Bot
b415f7ff2f Merge pull request #26293 from github/repo-sync
repo sync
2022-03-17 10:13:28 -07:00
mc
dff60e4752 Merge branch 'main' into repo-sync 2022-03-17 17:09:55 +00:00
Octomerger Bot
caf8b7b242 Merge pull request #16329 from github/repo-sync
repo sync
2022-03-17 09:56:15 -07:00
docubot
ed0aa06daa Merge branch 'main' into repo-sync 2022-03-17 09:37:31 -07:00
mc
ba4d73903d Merge pull request #16190 from cmwilson21/refresh-around-dependencies-#15750
Refresh around dependencies #15750
2022-03-17 16:36:17 +00:00
Peter Bengtsson
021198411a close intersection observer on dismount (#26292) 2022-03-17 12:14:53 -04:00
mc
845c6dbb68 Merge branch 'main' into refresh-around-dependencies-#15750 2022-03-17 14:30:53 +00:00
Courtney Wilson
c327b7c8bc Apply suggestions from code review
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
2022-03-17 09:20:38 -05:00
hubwriter
4173044de3 The open-reusables extension has moved repos. 2022-03-17 13:00:22 +00:00
Octomerger Bot
840274dfa3 Merge pull request #26291 from github/repo-sync
repo sync
2022-03-17 04:54:15 -07:00