-
Notifications
You must be signed in to change notification settings - Fork 62.1k
Explain how workflow run URL is constructed #1651
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
Conversation
Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
@FloEdelmann Thanks so much for opening a PR! I'll get this triaged for review 🌟 |
This PR is stale because it has been open 7 days with no activity and will be automatically closed in 3 days. To keep this PR open, update the PR by adding a comment or pushing a commit. |
@janiceilene Any news? |
@FloEdelmann Thanks for your patience! Our small team is working our way through reviewing all of the amazing contributions ✨ |
This PR is stale because it has been open 7 days with no activity and will be automatically closed in 3 days. To keep this PR open, update the PR by adding a comment or pushing a commit. |
@janiceilene Sorry to bother you again, I just want to keep this PR from being closed. |
Hi @FloEdelmann 👋
|
Hi @martin389, it's actually both: I needed to retrieve the workflow run URL from within a job: As the docs were not clear on how to construct the workflow run URL, I found out by trial and error and thus opened this PR to save others from making the same mistake :) |
This PR is stale because it has been open 7 days with no activity and will be automatically closed in 3 days. To keep this PR open, update the PR by adding a comment or pushing a commit. |
@martin389 @janiceilene Again, I just want to keep this PR from being closed. Please take all the time you need. |
Thank you @FloEdelmann! 🎉 I'm checking this approach with our support folks 👍 |
This PR is stale because it has been open 7 days with no activity and will be automatically closed in 3 days. To keep this PR open, update the PR by adding a comment or pushing a commit. |
Friendly bump again :) |
Following up on this 👍 |
The support folks are happy with this approach 👍 😄 Preparing to ship this update. 🚢 |
A preview of this update is available in staging: https://docs-1651--patch-1.herokuapp.com/en/free-pro-team@latest/actions/reference/environment-variables#default-environment-variables |
(Fixed merge conflict) |
Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. |
👍 The new note will be available here, once published: https://docs.github.com/en/free-pro-team@latest/actions/reference/environment-variables#default-environment-variables |
Great, thanks 😊 |
Why:
There are two different GitHub Actions workflow run URLs:
https://github.com/sindresorhus/refined-github/actions/runs/387494159
https://github.com/sindresorhus/refined-github/runs/1464813172
The docs don't make it clear which of these URL parameters the
GITHUB_RUN_ID
environment variable is. This PR tries to clarify this.What's being changed:
I've added one sentence after the environment variables table:
Check off the following: