Skip to content

feat: add job id, into run view suggest command#5105

Merged
samcoe merged 4 commits intocli:trunkfrom
yanskun:feat/add-job-id-into-run-view-suggest
Jan 27, 2022
Merged

feat: add job id, into run view suggest command#5105
samcoe merged 4 commits intocli:trunkfrom
yanskun:feat/add-job-id-into-run-view-suggest

Conversation

@yanskun
Copy link
Contributor

@yanskun yanskun commented Jan 26, 2022

Changed to display job id in advance in the suggestion command displayed when gh run view is executed.

Previously, the user had to copy and paste the suggested command and the target job id.

I wanted to complete it only once

However, only when there is one job.

When displaying all jobs, the same ones as before are displayed.

@yanskun yanskun requested a review from a team as a code owner January 26, 2022 13:54
@yanskun yanskun requested review from samcoe and removed request for a team January 26, 2022 13:54
@cliAutomation cliAutomation added the external pull request originating outside of the CLI core team label Jan 26, 2022
@yanskun yanskun marked this pull request as draft January 26, 2022 14:44
@yanskun yanskun marked this pull request as ready for review January 26, 2022 14:50
@yanskun
Copy link
Contributor Author

yanskun commented Jan 26, 2022

CI failed...

gh: Project already has the associated issue

Is it because I wrote Close #{issue_num} in the body?

@yanskun
Copy link
Contributor Author

yanskun commented Jan 26, 2022

@samcoe @vilmibm

How can this Action turn green?

I understand that the error wording is due to the intentional association with the issue.

So I tried removing Close # {issue_num} from the body, but it didn't work.
I want to rerun Action

Copy link
Contributor

@samcoe samcoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yasudanaoya Thanks for the contribution. Code looks good to me. I pushed one small change to use "the" instead of "a" when referencing a single job.

The reason the actions did not run is because we have some protection in the repo preventing actions from running for first time contributors.

@samcoe samcoe enabled auto-merge (squash) January 27, 2022 08:16
@samcoe samcoe merged commit b77c37d into cli:trunk Jan 27, 2022
@yanskun yanskun deleted the feat/add-job-id-into-run-view-suggest branch September 29, 2022 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external pull request originating outside of the CLI core team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants