docs icon indicating copy to clipboard operation
docs copied to clipboard

Wrong information in docs for `defaults.run`

Open j1elo opened this issue 2 years ago • 5 comments

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?

  1. Text mentions a nonexistent key jobs.defaults.run.

  2. 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 the inputs context within a jobs.<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.

j1elo avatar Jan 24 '23 17:01 j1elo

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.

welcome[bot] avatar Jan 24 '23 17:01 welcome[bot]

@j1elo Thanks for opening an issue and connecting it to your PR! It definitely helps us when issues are opened, as well! 💖

cmwilson21 avatar Jan 25 '23 16:01 cmwilson21

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.

github-actions[bot] avatar Mar 27 '23 16:03 github-actions[bot]

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.

github-actions[bot] avatar May 27 '23 16:05 github-actions[bot]

Closed check

grcspace311 avatar May 27 '23 19:05 grcspace311

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.

github-actions[bot] avatar Jul 30 '23 16:07 github-actions[bot]