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

Get github source information from environment when in a PR #551

Open
stevejpurves opened this issue Apr 17, 2024 · 0 comments
Open

Get github source information from environment when in a PR #551

stevejpurves opened this issue Apr 17, 2024 · 0 comments

Comments

@stevejpurves
Copy link
Member

The build page on journals displays information on the source of the build. On a users machine this will use a git package to get the relevant information but this information is not correct when the cli is used in a PR via the action.

image

The proposed change is to look for GITHUB environment variables that will be available when running on a PR and use that information to populate the payload when creating the job, and falling back to the

We want to be able to provide consistent information on the source when on a PR, and when working locally. Hopefully we can recover everything we need on a PR, if not we should consider omitting it, if we know we are running from a PR that should be apparant in the information?

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

No branches or pull requests

1 participant