Skip to content

Make conclusion nullable in WorkflowJob.py#3171

Merged
EnricoMi merged 3 commits intoPyGithub:mainfrom
Apakottur:patch-1
Feb 14, 2025
Merged

Make conclusion nullable in WorkflowJob.py#3171
EnricoMi merged 3 commits intoPyGithub:mainfrom
Apakottur:patch-1

Conversation

@Apakottur
Copy link
Copy Markdown
Contributor

@Apakottur Apakottur commented Jan 10, 2025

The value of conclusion in the Workflow Job object can be NULL:
conclusion_nullable

GitHub doc reference:
https://docs.github.com/en/rest/actions/workflow-jobs?apiVersion=2022-11-28

@github-actions github-actions bot added the ⭐ top pull request Top pull request. label Jan 11, 2025
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.

You need to change return type of

def conclusion(self) -> str:

as well.

@Apakottur Apakottur requested a review from EnricoMi February 4, 2025 11:37
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 added this pull request to the merge queue Feb 14, 2025
Merged via the queue into PyGithub:main with commit 8d8eb06 Feb 14, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⭐ top pull request Top pull request.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants