Sarah Edwards
63eee1f324
remove beta note for restricting runners to workflows ( #26083 )
2022-03-22 00:01:08 +00: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
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
Octomerger Bot
6a0ed24b29
Merge branch 'main' into repo-sync
2022-03-15 12:50:40 -07: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
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
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
Anton Zolotukhin
939014ad97
fix: docs: typo in publishing docker images
2022-03-14 22:40:55 +02: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
Sarah Edwards
83d8d82b09
Merge branch 'main' into joshjohanning-update-container-contexts
2022-03-11 14:46:37 -08:00
Laura Coursen
59618c6ad9
[GHEC version] Version content for IP allow lists ( #26067 )
2022-03-11 08:56:46 -06:00
Octomerger Bot
e898e03025
Merge branch 'main' into repo-sync
2022-03-11 05:49:38 -08:00
Jesse Houwing
3d1de14fc6
Update workflow-commands-for-github-actions.md
2022-03-11 14:06:03 +01:00
Ramya Parimi
0b9c1c36ad
Merge branch 'main' into patch-2
2022-03-11 07:01:42 -06:00
Jesse Houwing
1b9ee3b6d7
Merge branch 'github:main' into pwsh-commands
2022-03-11 14:00:29 +01:00
Octomerger Bot
f70514e4b1
Merge branch 'main' into repo-sync
2022-03-10 16:32:45 -08:00
Lucas Costi
bbe65a24fd
Fix deployment category index page versions ( #26088 )
2022-03-11 09:22:24 +10:00
Ramya Parimi
6ce27f4082
Merge branch 'main' into workflow-boolean-input-example
2022-03-10 13:57:11 -06:00
Ethan Palm
c5ee973046
Merge branch 'main' into patch-2
2022-03-10 11:41:21 -08:00
Sarah Edwards
a1aad9333b
Restrict workflow access to runner groups ( #25463 )
2022-03-10 11:10:19 -08:00
Martin Lopes
be52570814
Merge branch 'main' into pwsh-commands
2022-03-10 16:03:39 +10:00
Ramya Parimi
5048139518
Merge branch 'main' into action_status-context
2022-03-09 13:04:03 -06:00
Rob Bos
0c41da353d
Add in more copy options to make it easier for the user
2022-03-09 09:25:56 +01:00
Mike Surowiec
23a481db9a
Merge branch 'main' into pwsh-commands
2022-03-08 11:46:59 -06:00
Ramya Parimi
8baa02f0bf
Merge branch 'main' into action_status-context
2022-03-08 11:01:38 -06:00
Ramya Parimi
b653a83055
Merge branch 'main' into patch-4
2022-03-08 09:33:57 -06:00
Ramya Parimi
c4ecbf8bc0
Merge branch 'main' into patch-4
2022-03-08 09:16:38 -06:00
Sophie
73aad78f9e
Merge branch 'main' into workflow-boolean-input-example
2022-03-08 10:46:52 +01:00
Josh Johanning
6143d55e05
adding env to container
2022-03-07 13:01:11 -06:00
Martin Lopes
ae88a1b0af
Update workflow-commands-for-github-actions.md
2022-03-07 14:02:22 +10:00
Martin Lopes
fbcc8f4950
Merge branch 'main' into pwsh-commands
2022-03-07 13:49:31 +10:00
Sarah Edwards
d910820740
Merge branch 'main' into patch-2
2022-03-04 14:17:27 -08:00
hubwriter
75ccc012bc
[4 March] Use actions from internal repositories - beta > GA ( #25606 )
...
* Remove beta note box
* Add cross-ref to REST API docs
* Slight rewording of last commit
2022-03-04 12:26:19 +00:00
Matt Pollard
d2012d5f8e
Add guide for enterprise-level self-hosted runners with GitHub Actions ( #25123 )
2022-03-04 10:46:10 +01:00
Martin Lopes
f6ba189334
Update about-security-hardening-with-openid-connect.md ( #25825 )
2022-03-04 08:31:53 +00:00
Lucas Costi
c45cedad2e
Consolidate Actions nav reusables ( #25823 )
2022-03-04 15:44:17 +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
Jonathan Tamsut
d04e4046ae
bump version for upload-artifact and download-artifact code snippets ( #25782 )
2022-03-04 10:17:09 +10:00
Martin Lopes
a6fd2cc895
Merge branch 'main' into pwsh-commands
2022-03-04 08:25:12 +10:00