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

Support composite action #37

Open
iwata opened this issue Oct 18, 2023 · 1 comment
Open

Support composite action #37

iwata opened this issue Oct 18, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@iwata
Copy link

iwata commented Oct 18, 2023

I have been using it very conveniently.
Unfortunately, when using composite action, each step in the action is not visualized.
Can this issue be solved by modifying actions-timeline? Or is there a workaround? For example, using actions-timeline within composite actions ,too.

Sample codes gantt title build dateFormat HH:mm:ss axisFormat %H:%M:%S section lint Waiting for a runner (5s) :active, job0-0, 00:00:02, 5s Set up job (2s) :job0-1, after job0-0, 2s Check out (1s) :job0-2, after job0-1, 1s Run actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe (6s) :job0-3, after job0-2, 6s Git setup (2s) :job0-4, after job0-3, 2s golangci-lint (7s) :job0-5, after job0-4, 7s Post Run actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe (0s) :job0-6, after job0-5, 0s Post Check out (0s) :job0-7, after job0-6, 0s Post golangci-lint (0s) :job0-8, after job0-7, 0s Complete job (0s) :job0-9, after job0-8, 0s section test Waiting for a runner (5s) :active, job1-0, 00:00:02, 5s Set up job (0s) :job1-1, after job1-0, 0s Build k1LoW/octocov-action@a3bbf3eec30bf2b952345165e4e723814cf10abe (5s) :job1-2, after job1-1, 5s Check out (0s) :job1-3, after job1-2, 0s test (6m3s) :job1-4, after job1-3, 363s Report coverage (5s) :job1-5, after job1-4, 5s Post test (1s) :job1-6, after job1-5, 1s Post Check out (0s) :job1-7, after job1-6, 0s Complete job (0s) :job1-8, after job1-7, 0s section build-and-deploy Waiting for a runner (4s) :active, job2-0, 00:06:26, 4s Set up job (4s) :job2-1, after job2-0, 4s Run Kesin11/actions-timeline@fbbb6f71498dbdb3af862970133257532cd48054 (1s) :job2-2, after job2-1, 1s Check out (0s) :job2-3, after job2-2, 0s Get access token (2s) :job2-4, after job2-3, 2s Build and push (2m7s) :job2-5, after job2-4, 127s Show image tag (0s) :job2-6, after job2-5, 0s Post Check out (0s) :job2-7, after job2-6, 0s Post Build and push (2s) :job2-8, after job2-7, 2s

test and Build and push steps are using composite action.

@Kesin11
Copy link
Owner

Kesin11 commented Oct 21, 2023

@iwata
Thank you for using actions-timeline !

actions-timeline uses workflow_jobs APIs to get steps data inside a job.
Unfortunately, these API does not provide detailed step data that inside composite actions. So I have no idea how to get each step inside the composite. Any ideas?

You can see API response like this command.
gh api repos/Kesin11/actions-timeline/actions/jobs/17764637283

@Kesin11 Kesin11 added the help wanted Extra attention is needed label Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants