* Update reusable workflows docs
* Update content/actions/learn-github-actions/reusing-workflows.md
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
* Update content/actions/learn-github-actions/reusing-workflows.md
* Update content/actions/learn-github-actions/reusing-workflows.md
* Update content/actions/learn-github-actions/reusing-workflows.md
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
* Update content/actions/learn-github-actions/reusing-workflows.md
Co-authored-by: Martin Lopes <martin389@github.com>
* Apply review suggestion from Lucas
* Update content/actions/learn-github-actions/reusing-workflows.md
Co-authored-by: Martin Lopes <martin389@github.com>
* Update content/actions/learn-github-actions/reusing-workflows.md
Co-authored-by: Martin Lopes <martin389@github.com>
* Update content/actions/learn-github-actions/reusing-workflows.md
Co-authored-by: Martin Lopes <martin389@github.com>
* Add information about use of runners
As per review comment from Ajay Krishna Nalisetty
* Update content/actions/learn-github-actions/workflow-syntax-for-github-actions.md
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
* Update content/actions/learn-github-actions/workflow-syntax-for-github-actions.md
* Fix version as per Lucas's review comment
* Explain using environment secrets
* Add workflow diagram
* Move explanation of diagram above it
* Slight change to job_workflow-ref description
Include the syntax of the response data, as per
https://github.slack.com/archives/C01SMLA6MNY/p1637731982336700
* Clarify difference between repo and job_workflow_ref
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
Co-authored-by: Martin Lopes <martin389@github.com>
Co-authored-by: Octomerger Bot <63058869+Octomerger@users.noreply.github.com>
* Use in_progress workflow_job example, not queued
### tl;dr
This changes the example `workflow_job` payload to be an `in_progress` event instead of `queued` event.
### why
In #22174, I added some keys to the example workflow_job json. This was correct, but by adding non-null _values_, **I introduced a subtle bug**.
It's a bug because a `queued` workflow is—by definition—_not_ yet assigned to a runner. So all the `runner_*` attributes will be `null` in the real world.
After the workflow becomes `in_progress`, all the values are guaranteed to exist. So let's change the example to be an `in_progress` event, since it's a better example for documentation.
* Explain more about the runner_* attributes in "workflow_job_properties.md"
* Consistentize naming
Co-authored-by: Martin Lopes <martin389@github.com>
Co-authored-by: hubwriter <hubwriter@github.com>
* Describe new "only notify requested members" changes
* Rename file
* Update links
* Update gated feature callout
* Restructure a bit
* Use feature flag
* Rearrange conditional
* Fix procedural versioning
* Restructure again
* Remove screenshot
* Fix versioning
* Split out version for recent other enhancements
* This will be shipped in GHES 3.4 not 3.5
* Close liquid tag
* Remove incorrect table row
Co-authored-by: Laura Coursen <lecoursen@github.com>
Co-authored-by: Melanie Yarbrough <11952755+myarb@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>