Describe the feature or problem you’d like to solve
gh pr checks --web opens by default the page for github actions which is empty when using a different ci like circleci.
Proposed solution
- Change the
web flag to String with an optional argument to open the taget url for a specific build:
gh pr checks --web="ci/circleci: build"
- provide a selection via
survey
for _, c := range pr.StatusCheckRollup.Nodes[0].Commit.StatusCheckRollup.Contexts.Nodes {
if c.Context == "ci/circleci: build" {
return opts.Browser.Browse(c.TargetURL)
}
}
Additional context
pkg/actions/git on git-staged-changes [$] via v1.16.5 on ☁ (eu-central-1) with elvish
❯ gh pr checks
All checks were successful
0 failing, 1 successful, and 0 pending checks
✓ ci/circleci: build https://circleci.com/gh/rsteube/carapace-bin/1184?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
Describe the feature or problem you’d like to solve
gh pr checks --webopens by default the page for github actions which is empty when using a different ci likecircleci.Proposed solution
webflag toStringwith an optional argument to open the taget url for a specific build:gh pr checks --web="ci/circleci: build"surveyAdditional context