1
0
mirror of synced 2025-12-31 06:02:42 -05:00
Commit Graph

113 Commits

Author SHA1 Message Date
Jenni Christensen
0086470a55 Merge branch 'main' into anthms/fix-actions-link-anchor 2022-05-10 12:10:29 -07:00
Matt Pollard
dedbaa7831 GitHub Enterprise Server 3.5 release candidate (#26792) 2022-05-10 18:30:14 +02:00
Konrad Pabjan
b312c93a9b [Actions] Document Job Summaries (#25661)
* Initial updates for job summaries

* Optimize images

* Add image for basic mardkown summary example

* Optimize images

* Add feature flag versioning

* First docs team edit

* Rework content after powershell update to article:

* Add powershell examples
* Add 'Example' headings like previous sections
* Other misc bug fixes in the article.

* Update documented limit from 128K to 1MiB per step

* Rename Markdown summaries to Job summaries in all places

* Remove capitalization on 'Job'

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
2022-05-09 17:02:25 +01:00
Martin Lopes
5dd92d04aa Reusable workflows: Inherit secrets (#27276) 2022-05-03 15:15:40 +10:00
Martin Lopes
17b34e16cd Revert "actions-inherit-secrets-reusable-workflows 2022-04-27 17:11:58 +10:00
Martin Lopes
75e99902d8 Merge branch 'main' into nick/inhert_secrets 2022-04-27 13:25:37 +10:00
Martin Lopes
91068c157b Added versioning for bullet point 2022-04-27 13:17:00 +10:00
Nicholas Bergesen
32287cd6aa Code review updated 2022-04-27 00:28:08 +00:00
Sarah Edwards
ed4bcb96a0 Add more examples about actions matrixes (#26890)
Co-authored-by: Jacob Wallraff <thyeggman@github.com>
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
2022-04-26 17:43:08 +00:00
Nicholas Bergesen
8ec17c1b01 Update content/actions/using-workflows/workflow-syntax-for-github-actions.md
Co-authored-by: Martin Lopes <martin389@github.com>
2022-04-26 16:24:11 +09:00
Nicholas Bergesen
08560e357d Update content/actions/using-workflows/reusing-workflows.md
Co-authored-by: Martin Lopes <martin389@github.com>
2022-04-26 16:23:42 +09:00
Nicholas Bergesen
3e2e706267 Update content/actions/using-workflows/reusing-workflows.md
Co-authored-by: yujincat <55138573+yujincat@users.noreply.github.com>
2022-04-26 13:21:19 +09:00
Nicholas Bergesen
965c28d292 Update content/actions/using-workflows/workflow-syntax-for-github-actions.md
Co-authored-by: yujincat <55138573+yujincat@users.noreply.github.com>
2022-04-26 13:10:32 +09:00
Martin Lopes
765f914f40 Merge branch 'main' into nick/inhert_secrets 2022-04-26 12:08:52 +10:00
Nicholas Bergesen
0c116d8595 Merge branch 'nick/inhert_secrets' of https://github.com/nicholasbergesen/docs into nick/inhert_secrets 2022-04-26 00:29:31 +00:00
Nicholas Bergesen
fcbd827a90 Update inherit example 2022-04-26 00:27:19 +00:00
Nicholas Bergesen
0f88ca315a Update content/actions/using-workflows/workflow-syntax-for-github-actions.md
Co-authored-by: yujincat <55138573+yujincat@users.noreply.github.com>
2022-04-26 09:19:09 +09:00
Nicholas Bergesen
bbfbebda82 Add inherit secret update to docs. 2022-04-25 03:11:34 +00:00
Sebastian Ricaldoni
9f3515bb82 Missing 'on' 2022-04-23 18:58:28 -03:00
Nicolas Lagoutte
3925167e3a Fix incorrect link (#17267) 2022-04-22 16:40:17 +00:00
Lucas Costi
c126eed09c Add "About workflows" article (#26520) 2022-04-22 07:09:59 +00:00
Koji Hasegawa
7191f6a5d1 Clarify reusable workflow step (#16963)
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
2022-04-20 22:46:06 +00:00
mc
effd62fcc9 Merge branch 'main' into patch-2 2022-04-08 08:52:44 +01:00
Lucas Costi
ecf2bfe0cf Clarify restore-keys description (#16922)
Co-authored-by: Vanessa <vgrl@github.com>
2022-04-08 06:36:45 +00:00
Antonio
913dfcbd39 docs: added a note about the limitation for the event_type value of the repository_dispatch event (#16410) 2022-04-04 07:07:09 +00:00
Kyle Laker
ef41ed0303 Fix pull_request_target if_merged example
Within the workflow, the event object is still `github.event.pull_request`, so the `merged` key is at `github.event.pull_request.merged`. There _is not_ a `github.event.pull_request_target` object. This is also reflected in the table for this section in "Webhook event payload".
2022-04-01 15:45:22 -04:00
Lucas Costi
b49c768777 Version actions for GHES, use reusables (#26004)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Sarah Edwards <skedwards88@github.com>
2022-04-01 09:36:17 +10:00
Ramya Parimi
b2c03c7fd7 Merge branch 'main' into patch-2 2022-03-30 11:09:54 -05:00
Ramya Parimi
3668fd9e32 Merge branch 'main' into patch-4 2022-03-30 10:02:36 -05:00
Lucas Costi
e8329c4ed1 Add Actions policy for reusable workflows (#26287)
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
2022-03-30 05:52:05 +00:00
Elijah Lynn
52be4d8fad fix: minor typo in events-that-trigger-workflows.md 2022-03-28 13:47:42 -07:00
Nikola Jokic
39d746c27d Update content/actions/using-workflows/workflow-commands-for-github-actions.md
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
2022-03-28 09:19:54 +02:00
Lucas Costi
9063d21e56 Merge branch 'main' into patch-4 2022-03-28 16:37:26 +10:00
Anthony
23daa06f3a Fix link in workflow-syntax-for-github-actions.md 2022-03-25 16:06:00 -04:00
Nicolas Hedger
88103553c1 Fix broken title 2022-03-22 12:59:17 +01: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
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
Martin Lopes
63978b65ee Update workflow-commands-for-github-actions.md 2022-03-18 09:33:40 +10:00
Martin Lopes
9176a26a56 Merge branch 'main' into pwsh-commands 2022-03-17 17:19:26 +10: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
Nikola Jokic
40a7ad7136 Added explanation about masking outputs 2022-03-15 11:03:32 +01:00
Jesse Houwing
3d1de14fc6 Update workflow-commands-for-github-actions.md 2022-03-11 14:06:03 +01:00
Sarah Edwards
a1aad9333b Restrict workflow access to runner groups (#25463) 2022-03-10 11:10:19 -08:00
Martin Lopes
ae88a1b0af Update workflow-commands-for-github-actions.md 2022-03-07 14:02:22 +10:00
Martin Lopes
e40ef8cb0c Merge branch 'main' into pwsh-commands 2022-03-04 13:12:00 +10:00
Martin Lopes
266e547344 Update workflow-commands-for-github-actions.md 2022-03-04 13:05:21 +10:00
Martin Lopes
17ac762d7a Switched to uuidgen, added clearer example messages 2022-03-04 12:46:11 +10:00