1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-26 09:09:36 -05:00
forgejo/modules/actions
Giteabot 5099d3c747
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>
(cherry picked from commit 8d085587831d1357ae80046fe0627dbcc8657a79)
2024-03-10 18:45:58 +07:00
..
github.go [ACTIONS] on.schedule: the event is always "schedule" 2023-12-23 15:58:37 +01:00
github_test.go Support pull_request_target event (#25229) 2023-06-26 14:33:18 +08:00
log.go Support downloading raw task logs (#24451) 2023-06-29 10:58:56 +08:00
task_state.go Set pre-step status to skipped if job is skipped (#29489) (#29523) 2024-03-10 18:45:58 +07:00
task_state_test.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
workflows.go [ACTIONS] on.schedule: the event is always "schedule" 2023-12-23 15:58:37 +01:00
workflows_test.go [ACTIONS] on.schedule: the event is always "schedule" 2023-12-23 15:58:37 +01:00