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

1197 Commits

Author SHA1 Message Date
Sophie
ac4c64b683 Merge branch 'main' into sophie-6156-content 2022-04-13 09:14:13 +02:00
mc
dd2ce56d36 Merge branch 'main' into patch-2 2022-04-12 08:32:46 +01:00
MosJef
43922dd644 Remove --user from service command 2022-04-11 08:01:08 +00:00
KD
3c11a30791 typo
The code uses actions/checkout v3 as opposed to v2
2022-04-08 19:18:03 -04: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
Edward Thomson
8d1b17ab10 Update about-service-containers.md (#26774) 2022-04-08 01:25:55 +00:00
Laura Coursen
35e1d3a68b Add more links to the GHEC trial (#26587) 2022-04-07 09:48:41 -05:00
Mounil Shah
b588d2ec14 Add warning for write level rights with regards to repo secrets (#15553) 2022-04-06 19:06:47 +00:00
Nikola Jokic
d2ae09859e Fixing explanation related to the --disableupdate (#16802) 2022-04-06 18:08:32 +00:00
Matt Pollard
30f2b92798 Merge branch 'main' into sophie-6156-content 2022-04-06 13:53:40 +02:00
Vanessa
7e273971d3 Restructure and update enterprise-level audit log articles (#25526)
Co-authored-by: Laura Coursen <lecoursen@github.com>
2022-04-06 13:33:14 +10:00
Alena Sviridenko
e9e9dd1536 [April 1, 2022] Remove Windows 2016 from docs as it will be retired on March, 15 (#20579)
Co-authored-by: skedwards88 <skedwards88@github.com>
2022-04-04 15:51:37 +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
Daz DeBoer
7693a16ad3 Update to v2.1.4 of gradle-build-action (#16392) 2022-04-04 06:11:16 +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
Octomerger Bot
a8e2a02e80 Merge branch 'main' into repo-sync 2022-03-30 08:52:31 -07:00
Martin Lopes
3fb430a294 [2022-03-30]: Running scripts before or after a job (Public Beta) (#26284)
* Added initial draft

* Update running-scripts-before-or-after-a-job.md

* Update running-scripts-before-or-after-a-job.md

* Update running-scripts-before-or-after-a-job.md

* Update running-scripts-before-or-after-a-job.md

* Made opening sentence a bit clearer

* Update running-scripts-before-or-after-a-job.md

* Update running-scripts-before-or-after-a-job.md

* Moved versioning into feature

* Update running-scripts-before-or-after-a-job.md

* Update running-scripts-before-or-after-a-job.md

* Empty commit for CI

* Empty commit for CI

* Apply suggestions from code review

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

* Update job-hooks-for-runners.yml

* Update running-scripts-before-or-after-a-job.md

* Update running-scripts-before-or-after-a-job.md

* Update running-scripts-before-or-after-a-job.md

* Update running-scripts-before-or-after-a-job.md

* Update running-scripts-before-or-after-a-job.md

* Apply suggestions from code review

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

* Update running-scripts-before-or-after-a-job.md

* Update running-scripts-before-or-after-a-job.md

* Update running-scripts-before-or-after-a-job.md

* Update running-scripts-before-or-after-a-job.md

Co-authored-by: Sarah Edwards <skedwards88@github.com>
Co-authored-by: hubwriter <hubwriter@github.com>
2022-03-30 15:37:42 +00:00
Ramya Parimi
3668fd9e32 Merge branch 'main' into patch-4 2022-03-30 10:02:36 -05:00
Ramya Parimi
0ecf92f7b6 Merge branch 'main' into patch-2 2022-03-30 09:57:26 -05:00
Ramya Parimi
9e60aad4ec Merge branch 'main' into patch-5 2022-03-30 09:45:16 -05:00
Ramya Parimi
8134bd78c7 Merge branch 'main' into patch-3 2022-03-30 08:59:22 -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
Martin Lopes
3cc9a095f6 Merge branch 'main' into patch-2 2022-03-29 08:41:29 +10:00
Elijah Lynn
52be4d8fad fix: minor typo in events-that-trigger-workflows.md 2022-03-28 13:47:42 -07:00
Lucas Costi
6c73c5d9c8 Merge branch 'main' into patch-5 2022-03-28 17:21:54 +10: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
Nikola Jokic
98b52f2f65 Update content/actions/creating-actions/creating-a-docker-container-action.md
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
2022-03-28 09:17:44 +02:00
Lucas Costi
9063d21e56 Merge branch 'main' into patch-4 2022-03-28 16:37:26 +10:00
Lucas Costi
8fb1216e77 Update content/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners.md 2022-03-28 16:20:05 +10:00
Lucas Costi
27e75c1aaa Merge branch 'main' into patch-2 2022-03-28 16:16:51 +10:00
Lucas Costi
3c28299c08 Update content/actions/using-containerized-services/about-service-containers.md 2022-03-28 15:42:48 +10:00
Lucas Costi
c754ae67db Merge branch 'main' into patch-3 2022-03-28 15:33:22 +10:00
Ramya Parimi
664e7daab6 Merge branch 'main' into patch-2 2022-03-25 13:05:29 -05:00
Sophie
83ecee9968 Merge branch 'main' into sophie-6156-content 2022-03-23 11:17:20 +01:00
Lucas Costi
96a36339e7 Consolidate Actions settings steps (#26414)
Co-authored-by: Martin Lopes <martin389@github.com>
2022-03-23 05:13:40 +00:00
Sophie
482dc86a14 Merge branch 'main' into sophie-6156-content 2022-03-22 14:27:32 +01:00
Nicolas Hedger
88103553c1 Fix broken title 2022-03-22 12:59:17 +01:00
Yuki Nagai
6ac18cb03f Remove duplicated lines on self-hosted-runners 2022-03-22 10:29:01 +09:00
Sarah Edwards
63eee1f324 remove beta note for restricting runners to workflows (#26083) 2022-03-22 00:01:08 +00:00
Matt Pollard
6382d05d89 Merge branch 'main' into sophie-6156-content 2022-03-21 11:05:49 +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
Kurt von Laven
4ce6cfff28 Add example for object filter on object.
There was already an example for using an object filter on an array.
Clarify that object filters can be used on objects as well and that the
result is an array, not an object.
2022-03-19 18:31:49 -07: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