Skip to content

Add runner attributes workflow job#2921

Merged
EnricoMi merged 3 commits intoPyGithub:mainfrom
xvega:add-runner-attrs-workflow-job
Mar 21, 2024
Merged

Add runner attributes workflow job#2921
EnricoMi merged 3 commits intoPyGithub:mainfrom
xvega:add-runner-attrs-workflow-job

Conversation

@xvega
Copy link
Copy Markdown
Contributor

@xvega xvega commented Mar 16, 2024

This update adds the following runner attributes to the WorkflowJob class.

created_at
head_branch
labels
run_attempt
runner_group_id
runner_group_name
runner_id
runner_name
workflow_name

boomanaiden154 and others added 2 commits March 15, 2024 22:35
This patch adds the runner attributes to the WorkflowJob class. The four
attributes, runner_id, runner_name, runner_group_id, and
runner_group_name are always sent along with the job information, but
before this patch, are not represented in PyGtithub. This patch adds the
attributes and test coverage.
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.72%. Comparing base (e3d3653) to head (31e1973).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2921      +/-   ##
==========================================
+ Coverage   96.71%   96.72%   +0.01%     
==========================================
  Files         147      147              
  Lines       14883    14946      +63     
==========================================
+ Hits        14394    14457      +63     
  Misses        489      489              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Copy Markdown
Collaborator

@EnricoMi EnricoMi left a comment

Choose a reason for hiding this comment

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

LGTM!

@EnricoMi EnricoMi merged commit 9e09245 into PyGithub:main Mar 21, 2024
Sign up for free to 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.

4 participants