Skip to content

Implement support for actions workflow runs - #1449

Merged
gmlewis merged 4 commits into
google:masterfrom
ayzu:actions-workflow-runs
Mar 3, 2020
Merged

gmlewis merged 4 commits into
google:masterfrom
ayzu:actions-workflow-runs

Conversation

@ayzu

@ayzu ayzu commented Mar 1, 2020 •

Copy link
Copy Markdown
Contributor

Relates to: #1399.

@googlebot googlebot added the cla: yes Indication that the PR author has signed a Google Contributor License Agreement. label Mar 1, 2020
@gmlewis

gmlewis commented Mar 1, 2020

Copy link
Copy Markdown
Collaborator

Thank you, @ayzu . It looks like you need to merge master into your PR because it is modifying files it shouldn't which might mean that you based your work on another PR that got changed during a code review. ... If I'm making any sense at all.

I can be more detailed if this doesn't make sense... But that should fix the broken tests.

@ayzu

ayzu commented Mar 1, 2020

Copy link
Copy Markdown
Contributor Author

Thank you, @ayzu . It looks like you need to merge master into your PR because it is modifying files it shouldn't which might mean that you based your work on another PR that got changed during a code review. ... If I'm making any sense at all.

I can be more detailed if this doesn't make sense... But that should fix the broken tests.

Thank you, @gmlewis

I didn't run go-generate :) By the way, what do you think of adding a Makefile like:

do:
	go generate ./...
	go test ./...
	go vet ./...

@gmlewis

gmlewis commented Mar 1, 2020

Copy link
Copy Markdown
Collaborator

I didn't run go-generate :) By the way, what do you think of adding a Makefile like:

😄 Funny you should mention it. I've had this bash script in my directory for a long time:

$ cat testit.sh 
#!/bin/bash -ex
GO111MODULE=on
go generate ./...
go test ./...
go vet ./...

I could probably get rid of that environment variable now. 😄

Adding a Makefile to Go projects just brings back memories of waiting for C++ compilations, so I'd rather not. 😄

@gmlewis gmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is looking great, @ayzu!
Just a few tweaks, please, and then I think we'll be ready for a second review before merging.

Comment thread github/actions_workflow_runs.go Resolved
Comment thread github/actions_workflow_runs.go Resolved
Comment thread github/actions_workflow_runs.go Resolved
Comment thread github/actions_workflow_runs.go Resolved
Comment thread github/actions_workflow_runs.go Resolved
Comment thread github/actions_workflow_runs.go Resolved
Comment thread github/actions_workflow_runs.go Resolved
@gmlewis
gmlewis requested a review from gauntface March 1, 2020 18:47
@ayzu

ayzu commented Mar 1, 2020

Copy link
Copy Markdown
Contributor Author

This is looking great, @ayzu!
Just a few tweaks, please, and then I think we'll be ready for a second review before merging.

Thank you for the review, @gmlewis

I updated the code and renamed the structure to HeadCommit. It is great that we can reuse an existing type.

@gmlewis gmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

One tiny nit, but otherwise LGTM.
Thank you, @ayzu!

After the nit, awaiting second LGTM before merging.

Comment thread github/actions_workflow_runs_test.go Resolved
@gmlewis gmlewis changed the title #1399: implement support for actions workflow runs Implement support for actions workflow runs Mar 1, 2020

@wesleimp wesleimp left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM 👌

@gmlewis

gmlewis commented Mar 3, 2020

Copy link
Copy Markdown
Collaborator

Thank you, @wesleimp!
Merging.

@gmlewis
gmlewis merged commit bf4e928 into google:master Mar 3, 2020
n1lesh pushed a commit to n1lesh/go-github that referenced this pull request Oct 2, 2020
jlaportebot added a commit to jlaportebot/go-github that referenced this pull request Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Indication that the PR author has signed a Google Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants