Jeppe Fihl-Pearson and Enrico Minack
804c3107c8
Add support for workflow jobs and steps ( #1951 )
...
Co-authored-by: Enrico Minack <github@enrico.minack.dev >
2023-06-20 14:37:56 +08:00
Sasha Chung
10816389d2
Add name, display_title and path attributes to WorkflowRun ( #2397 )
2023-06-01 10:41:33 +02:00
Gabriele Oliaro
3a6235b56e
[WorkflowRun] - Add missing attributes (run_started_at & run_attempt), remove deprecated unicode type ( #2273 )
2022-10-29 11:26:24 +08:00
Aleksei Fedotov and Aleksei Fedotov
437ff8452a
Add class Artifact ( #2313 ) ( #2319 )
...
Co-authored-by: Aleksei Fedotov <aleksei@fedotov.email >
2022-10-25 11:02:33 +08:00
Steve Kowalik
b1c8eec58f
Add method to delete Workflow runs ( #2078 )
...
One piece of missing functionality is the ability to delete Workflow
Runs, which the GitHub API supports. Add a delete() method to
WorkflowRun.
Fixes #2019
2021-10-15 15:40:09 +11:00
Steve Kowalik
babcbcd04f
Update most URLs to docs.github.com ( #1896 )
...
Now that GitHub have moved their documentation from
developer.github.com, we should update our links. I have also tried to
update the call strings to their new format, but since it was done via
regex, some of them may not match exactly.
2021-03-26 20:43:48 +11:00
Steve Kowalik
290b62726f
Switch all string addition to using f-strings ( #1774 )
...
Now that we no longer support Python 3.5, stop using string addition
everywhere it makes sense, and move to the best feature 3.6+ gives us,
f-strings!
2021-03-03 14:50:57 +11:00
Steve Kowalik
e113e37de1
Add pyupgrade to pre-commit configuration ( #1783 )
...
To help us switch to f-strings and other 3.6+ changes, add pyupgrade to
our pre-commit configuration to keep the codebase clean.
2020-12-15 14:07:33 +11:00
Yannick Jadoul
78a29a7ce0
Add WorkflowRun.workflow_id ( #1737 )
...
Add the missing attribute WorkflowRun.workflow_id
2020-11-04 14:12:17 +11:00
Steve Kowalik
1879518e2b
Create WorkflowRun.timing namedtuple from the dict ( #1587 )
...
To stop non-deterministic dictionary ordering ruining our day on Python
3.5, create the namedtuple using the keys of the dictionary.
2020-06-27 11:56:04 +10:00
Steve Kowalik
4fb1d23f4d
Add support for Workflow Runs ( #1583 )
...
To build on the previous work supporting querying Workflows for GitHub
Actions, add a class and relevant methods to support querying runs of a
workflow.
2020-06-26 20:47:42 +10:00