Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing jobs.<job_id>.defaults.run.working-directory #31345

Closed
1 task done
jsoref opened this issue Jan 30, 2024 · 2 comments
Closed
1 task done

Missing jobs.<job_id>.defaults.run.working-directory #31345

jsoref opened this issue Jan 30, 2024 · 2 comments
Labels
invalid This issue/PR is invalid triage Do not begin working on this issue until triaged by the team

Comments

@jsoref
Copy link
Contributor

jsoref commented Jan 30, 2024

Code of Conduct

What article on docs.github.com is affected?

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?

There should be a jobs.<job_id>.defaults.run.working-directory

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_iddefaultsrun
Says:

Use jobs.<job_id>.defaults.run to provide default shell and working-directory to all run steps in the job. This keyword can reference several contexts. For more information, see "Contexts."

That should be visible in the ToC on the right, and have proper paragraphs. I shouldn't have to read the entire document ot discover this.

Additional information

It should explain how it interacts with previous levels.

There's a workflow that uses a global:

defaults:
  run:
    working-directory: ruby

I have no idea how to reset the working directory to the default in one job.

@jsoref jsoref added the content This issue or pull request belongs to the Docs Content team label Jan 30, 2024
@docs-bot docs-bot added invalid This issue/PR is invalid and removed content This issue or pull request belongs to the Docs Content team labels Jan 30, 2024
@docs-bot
Copy link
Collaborator

This issue may have been opened accidentally. I'm going to close it now, but feel free to open a new issue with a more descriptive title or ask any questions in discussions!

@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label Jan 30, 2024
@jsoref
Copy link
Contributor Author

jsoref commented Jan 30, 2024

Refiled as #31346

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This issue/PR is invalid triage Do not begin working on this issue until triaged by the team
Development

No branches or pull requests

2 participants