env-ci
env-ci copied to clipboard
feat(github): add buildUrl
Add support for buildUrl
inside GitHub Actions
The needed GITHUB_SERVER_URL
env var with the server URL is available in the GitHub Actions environment (see docs)
@SantiMA10 sorry for the long delay on this. would you be willing to resolve the conflicts?
also, the docs that you link to show the following, which doesnt quite align with your contribution:
If you need to use the URL of running a workflow from a job, you can combine these environment variables:
$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID
Sorry for the delay, I had a busy few days
About the docs, I wanted to point out that the GITHUB_SERVER_URL
is available since the other env vars are already been used in the GitHub Actions integration.
This is one comment in the GitHub discussions that mention the pattern of a URL for a specific run, let me know if you need more documentation about it
https://github.com/orgs/community/discussions/25470#discussioncomment-3248015