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

feat(github): add buildUrl #194

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

SantiMA10
Copy link

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)

@travi
Copy link
Member

travi commented Sep 22, 2022

@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

@SantiMA10
Copy link
Author

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.

@SantiMA10
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants