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

5722 Commits

Author SHA1 Message Date
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
Vanessa
c9e4ba77ec Merge branch 'main' into fix/#14492 2022-03-18 09:25:44 +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
Ritesh Patil
c40e10ff3b fix: clarify dependabot enable and disable funtion (#16135) 2022-03-17 11:24:58 +00:00
Steve Guntrip
846d374dbd OAuth 2.0 Device Authorization Flow is opt-in 2022-03-17 08:16:07 +00: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
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
David McIntosh
d6b523b197 Dependabot supports GHES high-availability mode (#26170)
Dependabot updates does not support GHES cluster mode since GitHub Actions are not support in cluster mode. However, high-availability failover configurations are supported by both Dependabot updates and GitHub Actions.

Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
2022-03-15 16:18:31 +00:00
Maheshkumar P
0ae7e039f7 Remove RSA from fingerprint page link text (#16139) 2022-03-15 15:31:25 +00:00
Zach Steindler
556a0c09cf End to end software supply chain content (#25187) 2022-03-15 14:22:14 +00:00
literarytea
1c203bf2c1 Site policy content re-org (#26112)
* Site policy reorg
2022-03-15 13:35:02 +00:00
Ramya Parimi
20f4b9d5c4 Merge branch 'main' into joshjohanning-update-container-contexts 2022-03-15 07:49:45 -05:00
Ramya Parimi
3947371009 Merge branch 'main' into fix-typo-in-publish-docker-images 2022-03-15 07:37:53 -05:00
Ramya Parimi
727ada99de Merge branch 'main' into patch-2 2022-03-15 07:32:03 -05:00
literarytea
e41b1e160f Acceptable Use Policies and Community Guidelines updates (#23469)
* Update github-acceptable-use-policies.md

* Update github-acceptable-use-policies.md

* Update github-community-guidelines.md

removes the restriction guidelines as they will change to stand-alone pages.

* Create misinformation-and-disinformation.md

* Rename misinformation-and-disinformation.md to github-misinformation-and-disinformation.md

* Create github-sexually-obscene-content.md

* Create github-hate-speech.md

* Create github-threats-of-violence-and-gratuitously-violent-content.md

* Create github-bullying-and-harassment.md

* Create github-disrupting-the-experience-of-other-users.md

* Create github-impersonation.md

* Create github-doxxing-and-invasion-of-privacy.md

* Update github-acceptable-use-policies.md

* Update github-acceptable-use-policies.md

* Create github-active-malware-or-exploits.md

* Update github-community-guidelines.md

* Update github-community-guidelines.md

* Update github-threats-of-violence-and-gratuitously-violent-content.md

* Update content/github/site-policy/github-acceptable-use-policies.md

Co-authored-by: Abby Vollmer <vollmera@users.noreply.github.com>

* Update content/github/site-policy/github-acceptable-use-policies.md

Co-authored-by: Abby Vollmer <vollmera@users.noreply.github.com>

* Update github-bullying-and-harassment.md

* Update github-bullying-and-harassment.md

* Update content/github/site-policy/github-disrupting-the-experience-of-other-users.md

Co-authored-by: Abby Vollmer <vollmera@users.noreply.github.com>

* Update content/github/site-policy/github-threats-of-violence-and-gratuitously-violent-content.md

Co-authored-by: Abby Vollmer <vollmera@users.noreply.github.com>

* update name of Appeal and Reinstatement form

* Update content/github/site-policy/github-impersonation.md

Co-authored-by: Abby Vollmer <vollmera@users.noreply.github.com>

* Update content/github/site-policy/github-community-guidelines.md

Co-authored-by: Abby Vollmer <vollmera@users.noreply.github.com>

* Update content/github/site-policy/github-community-guidelines.md

Co-authored-by: Abby Vollmer <vollmera@users.noreply.github.com>

* Update content/github/site-policy/github-community-guidelines.md

Co-authored-by: Abby Vollmer <vollmera@users.noreply.github.com>

* Update content/github/site-policy/github-community-guidelines.md

Co-authored-by: Abby Vollmer <vollmera@users.noreply.github.com>

* Update content/github/site-policy/github-acceptable-use-policies.md

* Update content/github/site-policy/github-acceptable-use-policies.md

* Update content/github/site-policy/github-sexually-obscene-content.md

* Update content/github/site-policy/github-doxxing-and-invasion-of-privacy.md

* Update content/github/site-policy/github-doxxing-and-invasion-of-privacy.md

* Update content/github/site-policy/github-community-guidelines.md

* Update content/github/site-policy/github-community-guidelines.md

Co-authored-by: Abby Vollmer <vollmera@users.noreply.github.com>

* Update content/github/site-policy/github-community-guidelines.md

* Update content/github/site-policy/github-acceptable-use-policies.md

Co-authored-by: Abby Vollmer <vollmera@users.noreply.github.com>

* Update content/github/site-policy/github-acceptable-use-policies.md

Co-authored-by: Abby Vollmer <vollmera@users.noreply.github.com>

* Update content/github/site-policy/github-bullying-and-harassment.md

Co-authored-by: Matt Hartley  <mbhartley@users.noreply.github.com>

* Update content/github/site-policy/github-disrupting-the-experience-of-other-users.md

Co-authored-by: Abby Vollmer <vollmera@users.noreply.github.com>

* Update content/github/site-policy/github-hate-speech.md

Co-authored-by: Abby Vollmer <vollmera@users.noreply.github.com>

* Rename github-hate-speech.md to github-hate-speech-and-discrimination.md

* Update github-acceptable-use-policies.md

* Update content/github/site-policy/github-acceptable-use-policies.md

* Update content/github/site-policy/github-community-guidelines.md

* Update content/github/site-policy/github-disrupting-the-experience-of-other-users.md

* Update content/github/site-policy/github-community-guidelines.md

* Update content/github/site-policy/github-misinformation-and-disinformation.md

Co-authored-by: literarytea <literarytea@users.noreply.github.com>

* fix typo

* Update github-acceptable-use-policies.md

(adding back a little nugget)

* Update content/github/site-policy/github-acceptable-use-policies.md

* Update content/github/site-policy/github-acceptable-use-policies.md

* Update content/github/site-policy/github-impersonation.md

* Update content/github/site-policy/github-community-guidelines.md

* Update content/github/site-policy/github-community-guidelines.md

* Update github-acceptable-use-policies.md

* Update content/github/site-policy/github-acceptable-use-policies.md

* add "interpret our policies" to User Protection clause

h/t @literarytea @mbhartley @jessephus

* Update content/github/site-policy/github-acceptable-use-policies.md

* Update content/github/site-policy/github-community-guidelines.md

* Update content/github/site-policy/github-community-guidelines.md

* Update content/github/site-policy/github-sexually-obscene-content.md

* Update github-community-guidelines.md

* Update content/github/site-policy/github-community-guidelines.md

* Update content/github/site-policy/github-community-guidelines.md

* Update github-active-malware-or-exploits.md

* Update github-bullying-and-harassment.md

* Update github-active-malware-or-exploits.md

* Update github-active-malware-or-exploits.md

* Update github-bullying-and-harassment.md

* Update github-disrupting-the-experience-of-other-users.md

* Update github-doxxing-and-invasion-of-privacy.md

* Update github-hate-speech-and-discrimination.md

* Update github-impersonation.md

* Update github-misinformation-and-disinformation.md

* Update github-sexually-obscene-content.md

* Update github-threats-of-violence-and-gratuitously-violent-content.md

* Update content/github/site-policy/github-community-guidelines.md

* Update github-hate-speech-and-discrimination.md

* Update github-acceptable-use-policies.md

* Update content/github/site-policy/github-acceptable-use-policies.md

* permanent suspension > termination

* update link to support form

* add period

* Add new files to site policy index

* Swap in relative links in community guidelines

* Remove redirects from 2 new articles

* Fix links for failing test

* Update links for failing test

* Remove extra ( breaking a link

* Fix links for failing test

* Actually fix links 😬

* Update content/github/site-policy/github-active-malware-or-exploits.md

Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>

* Update content/github/site-policy/github-acceptable-use-policies.md

* Update content/github/site-policy/github-acceptable-use-policies.md

* Update content/github/site-policy/github-acceptable-use-policies.md

* Update content/github/site-policy/github-acceptable-use-policies.md

* Update github-acceptable-use-policies.md

* some changes for consistency

* Update github-acceptable-use-policies.md

* Update github-acceptable-use-policies.md

* Update content/github/site-policy/github-community-guidelines.md

* Update content/github/site-policy/github-hate-speech-and-discrimination.md

* Update content/github/site-policy/github-community-guidelines.md

* Update content/github/site-policy/github-bullying-and-harassment.md

* Update content/github/site-policy/github-bullying-and-harassment.md

* Update content/github/site-policy/github-disrupting-the-experience-of-other-users.md

* Update content/github/site-policy/github-disrupting-the-experience-of-other-users.md

* Update content/github/site-policy/github-disrupting-the-experience-of-other-users.md

* Update github-disrupting-the-experience-of-other-users.md

* Update github-hate-speech-and-discrimination.md

* Update github-impersonation.md

* Update github-impersonation.md

switching this because it reads weird - meaning is to refer to personal information shared in a user profile.

* Update github-disrupting-the-experience-of-other-users.md

rewording/adding AUP link

* Update github-bullying-and-harassment.md

* Update github-impersonation.md

add link

* Update github-misinformation-and-disinformation.md

adds link

* Update github-sexually-obscene-content.md

* Update github-sexually-obscene-content.md

word change

* Update github-threats-of-violence-and-gratuitously-violent-content.md

rewording

* Update github-sexually-obscene-content.md

* Update github-community-forum-code-of-conduct.md

I made initial changes, but I'm at a loss for what to do on the what is not allowed section. My thinking is to cut that section and replace it with a short blurb linking out to our acceptable use policies and leave the additional language that was specific to community forum.

cc/ @vollmera if you have thoughts.

* add unlawfully before shares to clarify that we don’t intend for this restriction to apply where a legal exemption, such as for the purpose of interoperability, may apply

* help clarify that activities authorized under bug programs are not considered “unauthorized”

* add comma for readability

Co-authored-by: Abby Vollmer <vollmera@users.noreply.github.com>
Co-authored-by: Matt Hartley  <mbhartley@users.noreply.github.com>
Co-authored-by: Jesse Geraci <6133249+jessephus@users.noreply.github.com>
Co-authored-by: Ethan P <56270045+ethanpalm@users.noreply.github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
2022-03-14 15:49:10 -07:00
Sarita Iyer
77a3872c72 renaming images 2022-03-14 17:44:11 -04:00
Anton Zolotukhin
939014ad97 fix: docs: typo in publishing docker images 2022-03-14 22:40:55 +02:00
Sarita Iyer
9d4c33f1b7 Added screenshots except 1 2022-03-14 16:32:29 -04:00
Abby Vollmer
3b08517b0c Create Appeal and Reinstatement page (#26087)
* Create appeal-and-reinstatement-form.md

* Update appeal-and-reinstatement-form.md

* Update appeal-and-reinstatement-form.md

Co-authored-by: Jesse Geraci <6133249+jessephus@users.noreply.github.com>

* add transparency section

* Update appeal-and-reinstatement-form.md

* add github-appeal-and-reinstatement-form

* Rename appeal-and-reinstatement-form.md to github-appeal-and-reinstatement-form.md

* Move new article into site policy directory

* Add article front matter

* Update content/github/site-policy/github-appeal-and-reinstatement-form.md

* Update content/github/site-policy/github-appeal-and-reinstatement-form.md

* add URL for the form

* Update and rename github-appeal-and-reinstatement-form.md to github-appeal-and-reinstatement-.md

* update `github-appeal-and-reinstatement`

* remove trailing `-` (h/t @khxu)

Co-authored-by: Jesse Geraci <6133249+jessephus@users.noreply.github.com>
Co-authored-by: Ethan P <56270045+ethanpalm@users.noreply.github.com>
2022-03-14 11:00:34 -07:00
Tingluo Huang
c7de0c20b9 Add 'GITHUB_ACTIONS_RUNNER_TLS_NO_VERIFY' to actions self-hosted runner doc (#25757)
Co-authored-by: Edward Thomson <ethomson@github.com>
Co-authored-by: Sarah Edwards <skedwards88@github.com>
2022-03-14 16:02:02 +00:00
Sarah Edwards
a61ebaa066 point to deployment guidance (#26129) 2022-03-14 15:53:24 +00:00