René's URL Explorer Experiment


Title: Incorrect description of GITHUB_WORKSPACE environment variable · Issue #120 · github/docs · GitHub

Open Graph Title: Incorrect description of GITHUB_WORKSPACE environment variable · Issue #120 · github/docs

X Title: Incorrect description of GITHUB_WORKSPACE environment variable · Issue #120 · github/docs

Description: What feature or product is affected? GitHub Actions. Specifically the description of GITHUB_WORKSPACE at https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variables We d...

Open Graph Description: What feature or product is affected? GitHub Actions. Specifically the description of GITHUB_WORKSPACE at https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-vari...

X Description: What feature or product is affected? GitHub Actions. Specifically the description of GITHUB_WORKSPACE at https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-vari...

Opengraph URL: https://github.com/github/docs/issues/120

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Incorrect description of GITHUB_WORKSPACE environment variable","articleBody":"### What feature or product is affected?\r\n\r\nGitHub Actions. Specifically the description of `GITHUB_WORKSPACE` at https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variables\r\n\r\nWe discoved this when writing https://github.com/github/codeql-action/pull/54 and trying to set up a self-hosted runner.\r\n\r\n### What is the new or expected behavior?\r\n\r\nThe `GITHUB_WORKSPACE` environment variable contains the checkout path of the repository.\r\n\r\n### How is the old or inaccurate behavior currently documented?\r\n\r\nThe current documentation says \"The workspace directory contains a subdirectory with a copy of your repository ...\" but this is misleading or wrong. It's unclear whether \"The workspace directory\" is referring to `RUNNER_WORKSPACE` (which exists but is undocumented) or `GITHUB_WORKSPACE` (the variable being documented). If the former then it's technically correct but confusing as that variable is otherwise undocumented. If the latter then it is incorrect.\r\n\r\nTo fix this, just change \"The workspace directory contains a subdirectory with a copy of your repository ...\" to \"The workspace directory a copy of your repository ...\" and leave the rest unchanged.\r\n\r\n### Who does this affect?\r\n\r\nSome small percentage of actions developers. In particular those who aim for their actions to work on self-hosted runners where the directory structure is more important.\r\n\r\n### What is the impact to users?\r\n\r\nLargely just momentary confusion because by looking at the values of all the environment variables you can easily tell what is what and spot the error.\r\n\r\n\u003c!-- The sections below are for the Product Documentation team only. Thank you! --\u003e\r\n\r\n### Content strategy and implementation\r\n\r\n\u003c!-- To the writer who works on content strategy, please start with the [content strategy template](https://docs.google.com/document/d/1fq_jYI8jD5z22wNxNYgObqQ1_0L_emViQex67S-HfQ0/edit#) --\u003e\r\n\r\n| Item | Core | DSP | Ecosystem/API |\r\n| --- | --- | --- | --- |\r\n| Unified content strategy plan | | | |\r\n\r\n**Please link any in-flight PRs to this issue.**\r\n","author":{"url":"https://github.com/robertbrignull","@type":"Person","name":"robertbrignull"},"datePublished":"2020-06-09T09:10:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/120/docs/issues/120"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3fc28612-bc4e-74ce-5b23-b0d508bf03fc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBD50:2A1D55:179E9AD:2251400:6A5629C1
html-safe-nonce5c13b3b6792e2b6be635031e12168491a7c2e2c550303d2882f3f09e58e88351
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDUwOjJBMUQ1NToxNzlFOUFEOjIyNTE0MDA6NkE1NjI5QzEiLCJ2aXNpdG9yX2lkIjoiODI3OTg3MTczOTIyNTU4MjAxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9aaea92671a96243b5c4aefba3f2ce47336d6d919c4f511486f94ec36f7c44a5
hovercard-subject-tagissue:716044937
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/docs/120/issue_layout
twitter:imagehttps://opengraph.githubassets.com/dc6bcb5eb2801bd57fc7cbcc3f618c1164bdf3647aea5aaacb2032b969ab21d7/github/docs/issues/120
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dc6bcb5eb2801bd57fc7cbcc3f618c1164bdf3647aea5aaacb2032b969ab21d7/github/docs/issues/120
og:image:altWhat feature or product is affected? GitHub Actions. Specifically the description of GITHUB_WORKSPACE at https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-vari...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerobertbrignull
hostnamegithub.com
expected-hostnamegithub.com
None9d78ea552aac0685ca5f006d44f88166cbbf3bb96843f8da0c5a2c0b9908430b
turbo-cache-controlno-preview
go-importgithub.com/github/docs git https://github.com/github/docs.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id189621607
octolytics-dimension-repository_nwogithub/docs
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id189621607
octolytics-dimension-repository_network_root_nwogithub/docs
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release160a6fceec0fef718a0c3ac46f2d71ae9d5c0ff5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/docs/issues/120#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fdocs%2Fissues%2F120
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fdocs%2Fissues%2F120
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=github%2Fdocs
Reloadhttps://github.com/github/docs/issues/120
Reloadhttps://github.com/github/docs/issues/120
Reloadhttps://github.com/github/docs/issues/120
Please reload this pagehttps://github.com/github/docs/issues/120
github https://github.com/github
docshttps://github.com/github/docs
Notifications https://github.com/login?return_to=%2Fgithub%2Fdocs
Fork 67.8k https://github.com/login?return_to=%2Fgithub%2Fdocs
Star 20.5k https://github.com/login?return_to=%2Fgithub%2Fdocs
Code https://github.com/github/docs
Issues 129 https://github.com/github/docs/issues
Pull requests 105 https://github.com/github/docs/pulls
Actions https://github.com/github/docs/actions
Projects https://github.com/github/docs/projects
Models https://github.com/github/docs/models
Security and quality 0 https://github.com/github/docs/security
Insights https://github.com/github/docs/pulse
Code https://github.com/github/docs
Issues https://github.com/github/docs/issues
Pull requests https://github.com/github/docs/pulls
Actions https://github.com/github/docs/actions
Projects https://github.com/github/docs/projects
Models https://github.com/github/docs/models
Security and quality https://github.com/github/docs/security
Insights https://github.com/github/docs/pulse
#182https://github.com/github/docs/pull/182
Incorrect description of GITHUB_WORKSPACE environment variablehttps://github.com/github/docs/issues/120#top
#182https://github.com/github/docs/pull/182
actionsThis issue or pull request should be reviewed by the docs actions teamhttps://github.com/github/docs/issues?q=state%3Aopen%20label%3A%22actions%22
contentThis issue or pull request belongs to the Docs Content teamhttps://github.com/github/docs/issues?q=state%3Aopen%20label%3A%22content%22
triageDo not begin working on this issue until triaged by the teamhttps://github.com/github/docs/issues?q=state%3Aopen%20label%3A%22triage%22
https://github.com/robertbrignull
robertbrignullhttps://github.com/robertbrignull
on Jun 9, 2020https://github.com/github/docs/issues/120#issue-716044937
https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variableshttps://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variables
github/codeql-action#54https://github.com/github/codeql-action/pull/54
actionsThis issue or pull request should be reviewed by the docs actions teamhttps://github.com/github/docs/issues?q=state%3Aopen%20label%3A%22actions%22
contentThis issue or pull request belongs to the Docs Content teamhttps://github.com/github/docs/issues?q=state%3Aopen%20label%3A%22content%22
triageDo not begin working on this issue until triaged by the teamhttps://github.com/github/docs/issues?q=state%3Aopen%20label%3A%22triage%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.