Skip to content

Add HeadBranch field to WorkflowJob - #2764

Merged
gmlewis merged 2 commits into
google:masterfrom
transferwise:add-branch-to-workflow-job-event
Apr 18, 2023
Merged

Add HeadBranch field to WorkflowJob#2764
gmlewis merged 2 commits into
google:masterfrom
transferwise:add-branch-to-workflow-job-event

Conversation

@kkaresz-tw

@kkaresz-twkkaresz-tw commented Apr 18, 2023

Copy link
Copy Markdown
Contributor

The workflow_job events contain the branch information (head_branch) but it's missing from the WorkflowJob object. This change adds the missing field and updates the corresponding tests.

Fixes: #2762.

@gmlewisgmlewis 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.

Thank you, @kkaresz-tw !
LGTM.
Merging.

@codecov

codecovBot commented Apr 18, 2023

Copy link
Copy Markdown

Codecov Report

Merging #2764 (50e1105) into master (a888f0c) will not change coverage.
The diff coverage is n/a.

@@ Coverage Diff @@## master #2764 +/- ##
=======================================
Coverage 98.05% 98.05% =======================================
Files 132 132 Lines 11638 11638 =======================================
Hits 11412 11412 Misses 154 154 Partials 72 72 
Impacted FilesCoverage Δ
github/actions_workflow_jobs.go100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@gmlewis
gmlewis merged commit 9385ab0 into google:masterApr 18, 2023
@kkaresz-tw
kkaresz-tw deleted the add-branch-to-workflow-job-event branch April 18, 2023 12:40
jlaportebot added a commit to jlaportebot/go-github that referenced this pull request Jun 28, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HeadBranch is missing from WorkflowJob

2 participants

@kkaresz-tw@gmlewis