Actions - Incorrect job status #10628

Closed
opened 2025-11-02 09:13:20 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @Zettat123 on GitHub (Apr 11, 2023).

Originally assigned to: @Zettat123 on GitHub.

Description

In my job, I use a custom action to do some work. When I run the job on an image without node.js installed, the job will fail in the Set up job step because the image doesn't have a node.js runtime to run that action. However, the status of the job is Success, see the screenshot:

image

Gitea Version

v1.20.0+dev-426-gb7b887ba0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

command

Database

PostgreSQL

Originally created by @Zettat123 on GitHub (Apr 11, 2023). Originally assigned to: @Zettat123 on GitHub. ### Description In my job, I use a custom action to do some work. When I run the job on an image without `node.js` installed, the job will fail in the `Set up job` step because the image doesn't have a `node.js` runtime to run that action. However, the status of the job is `Success`, see the screenshot: ![image](https://user-images.githubusercontent.com/15528715/231038361-4a1f6578-260d-43b0-aaf2-988adbc7877b.png) ### Gitea Version v1.20.0+dev-426-gb7b887ba0 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? command ### Database PostgreSQL
GiteaMirror added the topic/gitea-actionstype/bug labels 2025-11-02 09:13:20 -06:00
Author
Owner

@harryzcy commented on GitHub (Apr 13, 2023):

I encountered the same issue today with Gitea v1.19.1 and act_runner main branch. It's because I referenced a non-existing action in uses part.

@harryzcy commented on GitHub (Apr 13, 2023): I encountered the same issue today with Gitea v1.19.1 and act_runner main branch. It's because I referenced a non-existing action in `uses` part.
Author
Owner

@Zettat123 commented on GitHub (Apr 14, 2023):

Looks like this issue is related to act_runner, so I make a PR in gitea/act and close this issue.

@Zettat123 commented on GitHub (Apr 14, 2023): Looks like this issue is related to `act_runner`, so I make a [PR](https://gitea.com/gitea/act/pulls/40) in `gitea/act` and close this issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10628