]> source.dussan.org Git - gitea.git/commit
Set pre-step status to `skipped` if job is skipped (#29489) (#29523)
authorGiteabot <teabot@gitea.io>
Fri, 1 Mar 2024 13:51:54 +0000 (21:51 +0800)
committerGitHub <noreply@github.com>
Fri, 1 Mar 2024 13:51:54 +0000 (14:51 +0100)
commit8d085587831d1357ae80046fe0627dbcc8657a79
treec22264501abd133d4f16cfd0d6bce322a9d637da
parent730cd2dee454f37ee0084080f8cb79c8a3ab303f
Set pre-step status to `skipped` if job is skipped (#29489) (#29523)

Backport #29489 by @sillyguodong

close #27496
1. Set pre-step (Set up job) status to `skipped` if job is skipped.
2. Apart from pre-step, the other steps should also be set to `skipped`.
The status of other steps are reported from the runner side. This will
be completed by this PR: https://gitea.com/gitea/act_runner/pulls/500

before:

![image](https://github.com/go-gitea/gitea/assets/33891828/4bac2ba9-66de-4679-b7ed-fbae459c0c54)

after:

![image](https://github.com/go-gitea/gitea/assets/33891828/ead4871a-4e0f-4bb1-9fb4-37f4fdb78dfc)

Co-authored-by: sillyguodong <33891828+sillyguodong@users.noreply.github.com>
modules/actions/task_state.go