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

Use annotations to be able to return workflow run log line links #3

Open
joshjohanning opened this issue Mar 13, 2023 · 3 comments
Open
Labels
enhancement New feature or request

Comments

@joshjohanning
Copy link
Owner

For easier discoverability of which action is using the deprecated command(s)

@joshjohanning joshjohanning added the enhancement New feature or request label Mar 13, 2023
@joshjohanning
Copy link
Owner Author

Probably have to use the API instead of gh run view so we can return back the annotation URL. Without looking too much into it, unsure if we have to download the workflow run logs or can use the get workflow runs API.

Node.js 12 actions return the job but not a step: https://github.com/joshjohanning-org/actions-linter-testing/actions/runs/5149383098

Annotation url: https://github.com/joshjohanning-org/actions-linter-testing/actions/runs/5149383098/jobs/9272310462

Deprecated workflow commands return a step: https://github.com/joshjohanning-org/actions-linter-testing/actions/runs/5149383097

https://github.com/joshjohanning-org/actions-linter-testing/actions/runs/5149383097/jobs/9272310460#step:5:5


This person is getting the workflow runs for a repo and then getting the check suite IDs to get the annotation URLs: https://github.com/orgs/community/discussions/49405#discussioncomment-5227815

@StaticYolt
Copy link

Hi all, wondering if there was an update on this?

@joshjohanning
Copy link
Owner Author

@StaticYolt I can probably take a look at this in a few weeks when I return!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants