docs
docs copied to clipboard
Wrong information in docs for `defaults.run`
Code of Conduct
- [X] I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
Workflow syntax for jobs.<job_id>.defaults.run
:
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_iddefaultsrun
What part(s) of the article would you like to see updated?
-
Text mentions a nonexistent key
jobs.defaults.run
. -
Text says that "You cannot use contexts or expressions in this keyword.", however the Context availability docs state that
jobs.<job_id>.defaults.run
should be able to access a variety of contexts. Empirically tested and the runner does in fact not fail when using theinputs
context within ajobs.<job_id>.defaults.run
entry.
Additional information
I'm sending a PR with proposed changes; only reason for this issue is that PR instructions ask for creating an issue before opening a PR.
Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.
@j1elo Thanks for opening an issue and connecting it to your PR! It definitely helps us when issues are opened, as well! 💖
A stale label has been added to this issue becuase it has been open for 60 days with no activity. To keep this issue open, add a comment within 3 days.
A stale label has been added to this issue becuase it has been open for 60 days with no activity. To keep this issue open, add a comment within 3 days.
Closed check
A stale label has been added to this issue becuase it has been open for 60 days with no activity. To keep this issue open, add a comment within 3 days.