1
0
mirror of synced 2026-01-02 12:04:38 -05:00
Commit Graph

3 Commits

Author SHA1 Message Date
eric sciple
d3db7d3e25 Detail where each context can be used within a workflow (#19900)
* Detail where each context can be used within a workflow

* tweak

* Update cross-ref to new information

This reusable is used in two articles: 'Context and expression syntax for GitHub Actions' and 'Environment variables'. In the first of these the current link point to the same section that the link is added to (which is not useful). In both articles I think the new section about context availability is a more appropriate link.

* Update content/actions/reference/context-and-expression-syntax-for-github-actions.md

Co-authored-by: hubwriter <hubwriter@github.com>

* Update content/actions/reference/context-and-expression-syntax-for-github-actions.md

Co-authored-by: hubwriter <hubwriter@github.com>

* Update content/actions/reference/context-and-expression-syntax-for-github-actions.md

Co-authored-by: hubwriter <hubwriter@github.com>

Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: hubwriter <hubwriter@github.com>
2021-06-23 14:30:07 +00:00
Lucas Alves
515f78c5c1 Fix incorrect operator example 2021-03-13 03:41:42 -03:00
Martin Lopes
b1a2184fb1 Explain when to use default variables in a context and an environment (#16650)
* Added "Determining which type of environment variables to use"

* Moved into reusable, added to various locations

* Added some small edits

* Some rewording

* Revised example

* Removed reusable reference from one location

* Update context-and-expression-syntax-for-github-actions.md

* Fixed merge conflict

* Update environment-variables.md

* Apply suggestions from code review

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

* Update using-context-or-environment-variables.md

* Clarified locations of context variables

* Clarified the distinction between contexts and default environment variables

* Moved section up

* Clarified that _most_ contexts can be used anywhere

Co-authored-by: Sarah Edwards <skedwards88@github.com>
2021-01-14 14:58:31 +10:00