Environment variable docs are inconsistent about GITHUB_ prefix #2693
Comments
|
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. |
|
Thanks for opening an issue @nex3! I'll triage this for the team to take a look |
|
Hi @nex3 - Many thanks for raising this issue.
EDIT: I was wrong about this. See my comment, with suggested changes, below: #2693 (comment) |
|
@hubwriter The issue is that the example in |
|
@nex3 - Thanks for coming back about that. |
|
The text in the note box is incorrect. The So we should remove the note on that page and replace it with a statement about trying to reuse the names of the default env vars. i.e. in
to a simple paragraph (rather than a note):
@nex3 - Many thanks again for raising this, and for coming back when I incorrectly closed the issue. Kudos to you for bringing this to our attention. |
I have done exactly what was mentioned in the issue. I am just getting started with open-source so I am sorry if I have done anything that is incorrect.
The Naming Conventions for Environment Variables documentation says:
However, the example in
jobs.<job_id>.steps[*].envsets aGITHUB_TOKENenvironment variable. Which is correct?The text was updated successfully, but these errors were encountered: