1
0
mirror of synced 2026-01-10 09:02:35 -05:00
Commit Graph

5769 Commits

Author SHA1 Message Date
Matt Pollard
6382d05d89 Merge branch 'main' into sophie-6156-content 2022-03-21 11:05:49 +01:00
Matt Pollard
0cdc18f284 Revert front matter changes 2022-03-21 11:01:39 +01:00
djdefi
e5285c09a9 Clarify that web and api request redirect to configured hostname in GHES (#26217) 2022-03-21 16:30:18 +10:00
Martin Lopes
09c77faaa1 Update workflow-commands-for-github-actions.md 2022-03-21 11:19:54 +10:00
Martin Lopes
f24a5cb1eb Update workflow-commands-for-github-actions.md 2022-03-21 11:04:34 +10:00
Martin Lopes
57c4680555 Merge branch 'main' into pwsh-commands 2022-03-21 10:29:34 +10:00
Laura Coursen
ae8a928909 Networking requirements and resolution for GitHub Actions on GHES (#25622) 2022-03-19 10:48:19 +00: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
Ramya Parimi
b412efad2e Merge branch 'main' into fix/#14492 2022-03-18 08:03:01 -05:00
mc
28a7ce3fcb Add overview article about supply chain security (#25835)
* add overview article
2022-03-18 10:30:41 +00:00
Martin Lopes
392432d7a2 Fixes broken links (#26308) 2022-03-18 16:31:12 +10:00
Martin Lopes
63978b65ee Update workflow-commands-for-github-actions.md 2022-03-18 09:33:40 +10:00
Vanessa
c9e4ba77ec Merge branch 'main' into fix/#14492 2022-03-18 09:25:44 +10:00
Martin Lopes
93e179940b Merge branch 'main' into pwsh-commands 2022-03-18 09:23:02 +10: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
mc
7b405ec6b1 Supply chain restructuring (#26105)
* reorganize supply chain docs
2022-03-17 17:31:04 +00: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
0b1165ed9e Merge branch 'main' into code-scanning-alerts-default-branch 2022-03-17 13:15:09 -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
Sophie
69c6952237 Merge branch 'main' into sophie-6156-content 2022-03-17 14:11:46 +01:00
Ritesh Patil
c40e10ff3b fix: clarify dependabot enable and disable funtion (#16135) 2022-03-17 11:24:58 +00:00
Sophie
31b8ebb4a4 Change personal account back to user account 2022-03-17 09:41:12 +01:00
Sophie
18edb677c9 Merge branch 'main' into sophie-6156-content 2022-03-17 09:25:19 +01:00
Steve Guntrip
846d374dbd OAuth 2.0 Device Authorization Flow is opt-in 2022-03-17 08:16:07 +00:00
Martin Lopes
9176a26a56 Merge branch 'main' into pwsh-commands 2022-03-17 17:19:26 +10:00
Ritesh Patil
a0c0780ae3 fix: resolve suggested changes 2022-03-17 05:36:25 +00:00
Octomerger Bot
be95bea119 Merge branch 'main' into repo-sync 2022-03-16 11:54:56 -07:00
Octomerger Bot
b83faf08d0 Merge branch 'main' into repo-sync 2022-03-16 08:57:33 -07:00
Sarita Iyer
a1da2710a1 Merge branch 'main' into code-scanning-alerts-default-branch 2022-03-16 11:38:04 -04:00
Ramya Parimi
c29fa459c5 Merge branch 'main' into patch-3 2022-03-16 09:55:21 -05:00
Octomerger Bot
5da7e905fc Merge branch 'main' into repo-sync 2022-03-16 07:53:19 -07:00
Ramya Parimi
9f33bcce6f Merge branch 'main' into patch-2 2022-03-16 09:34:42 -05:00
Sophie
74ba23bec7 Change instances of user account to personal account in content 2022-03-16 15:18:37 +01:00
Ramya Parimi
dc885d6759 Merge branch 'main' into fix/#15736 2022-03-16 09:01:43 -05:00
Matt Pollard
47f8250151 Generalize article on deployment of GitHub AE and add prerequisite (#26193) 2022-03-16 13:36:23 +00:00
Lucas Costi
cfba19d927 Add cache section for Actions REST API (#24924)
* Add cache section for Actions REST API

* Add permissions entries, cache section

* Add new cache directory after REST reactify changes

* Update content/actions/using-workflows/caching-dependencies-to-speed-up-workflows.md

Co-authored-by: Martin Lopes <martin389@github.com>

* Add versioning for GHES/AE

Co-authored-by: Martin Lopes <martin389@github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
2022-03-16 10:37:19 +00:00
Jenni Christensen
fa2d1c17d6 Merge branch 'main' into dihydroJen-1 2022-03-15 17:13:08 -07:00
Octomerger Bot
6a0ed24b29 Merge branch 'main' into repo-sync 2022-03-15 12:50:40 -07:00
Ramya Parimi
cf5bcda86c Merge branch 'main' into fix/#15736 2022-03-15 13:24:41 -05:00
Vanessa
a29a637a5f GitHub Enterprise Server 3.4 GA (#25954)
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Melanie Yarbrough <11952755+myarb@users.noreply.github.com>
2022-03-15 14:07:29 -04:00
Sarah Edwards
c79c262957 re-running workflow jobs--with CLI (#26127)
Co-authored-by: Cameron Booth <cdb@github.com>
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
2022-03-15 10:57:40 -07:00
Ritesh Patil
f08b89ef55 fix: highlight the conditions for transferring of an issue (#16133) 2022-03-15 17:27:43 +00:00
Ramya Parimi
2402f54cb2 Merge branch 'main' into joshjohanning-update-container-contexts 2022-03-15 12:16:11 -05:00
Sarah Edwards
62c079c3b0 re-running workflow jobs (#25817)
Co-authored-by: Cameron Booth <cdb@github.com>
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
2022-03-15 10:06:29 -07:00
Sarita Iyer
4e1c27b2dc Merge branch 'main' into code-scanning-alerts-default-branch 2022-03-15 12:50:20 -04:00
Sarita Iyer
08dab18259 Removed alert description + moved old images to enterprise folder 2022-03-15 12:32:49 -04:00
Octomerger Bot
6641bcf20b Merge branch 'main' into repo-sync 2022-03-15 09:31:01 -07:00
Octomerger Bot
ecc764e6d2 Merge branch 'main' into repo-sync 2022-03-15 09:29:25 -07:00