Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add runner attributes workflow job #2921

Merged
merged 3 commits into from Mar 21, 2024

Conversation

xvega
Copy link
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

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
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
15 checks passed
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.

None yet

4 participants