Link to file in branch from Sigrid CI feedback. #610
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@patveck This overlaps a bit with some of the investigation work we did into on-premise Sigrid. The nice thing about Sigrid CI, is that this pull request actually shows the change in action :)
You might wonder why I'm not just using
Platform.isGitHub()
instead of checking for the specific environment variables. That because those environment variables are not available in all cases. If people accidentally misconfigure Sigrid CI, it would crash due to the missing environment variables. With the current behavior they just don't get the link, which is still a lot better than crashing.