-
-
Couldn't load subscription status.
- Fork 6.2k
Add Actions API endpoints for workflow run and job management #35382
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
base: main
Are you sure you want to change the base?
Add Actions API endpoints for workflow run and job management #35382
Conversation
|
Addresses #35176 |
|
Please be aware existing Gitea workflow api do not use runindex, also jobs use jobid instead of jobindex. GET /actions/runs/{run}/jobs/{job_id}/logs - Download job logs Line 1210 in d2f2221
|
d8ca88a to
f2cf2e6
Compare
|
Comments addressed. Please re-review. |
|
CI failure is still related. |
|
You seem to have messed up the PR diff, by not doing a merge. This is hard to read right now so I merge the branch via GitHub UI first |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to look later again, your added or existing tests are at least failing that needs to be resolved.
|
You might be using a wrong user account for tests, do they pass locally? EDIT fixed the malformed pasted markdown due to bugs in GitHub Comments Markdown pasting.... Do you need to help how to run these tests locally? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to do some required refactoring on your branch.
- Tests look good
- Test failures not so good
- Copied code from webui needs to be refactored to be only defined once
cf54846 to
d3a10b3
Compare
…ons are enforced at route level
…her workflow APIs
…euse across API and WEBUI
... Tests seem to pass locally if I just run 'make test'.
I probably do 👍 |
Implements comprehensive REST API endpoints for GitHub Actions workflow runs:
Features:
Fixes workflow management gaps in API compatibility.