[GH-ISSUE #572] Enhancement: Fail if job name is not valid #384

Closed
opened 2026-03-01 21:42:53 +03:00 by kerem · 0 comments
Owner

Originally created by @rockandska on GitHub (Mar 18, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/572

Describe feature

Act doesn't fail if the job name is not valid comparing to GHA who fail with this kind of message :

The workflow is not valid. .github/workflows/tests.yml (Line: 10, Col: 3): Job name test-bats-docker-bash-4.4.23-gnu-true is invalid. Names must start with a letter or '_' and contain only alphanumeric characters, '-', or '_' .github/workflows/tests.yml (Line: 16, Col: 3): Job name test-bats-docker-bash-3.2.57-gnu-true is invalid. Names must start with a letter or '_' and contain only alphanumeric characters, '-', or '_'
Originally created by @rockandska on GitHub (Mar 18, 2021). Original GitHub issue: https://github.com/nektos/act/issues/572 ## Describe feature Act doesn't fail if the job name is not valid comparing to GHA who fail with this kind of message : ``` The workflow is not valid. .github/workflows/tests.yml (Line: 10, Col: 3): Job name test-bats-docker-bash-4.4.23-gnu-true is invalid. Names must start with a letter or '_' and contain only alphanumeric characters, '-', or '_' .github/workflows/tests.yml (Line: 16, Col: 3): Job name test-bats-docker-bash-3.2.57-gnu-true is invalid. Names must start with a letter or '_' and contain only alphanumeric characters, '-', or '_' ```
kerem 2026-03-01 21:42:53 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#384
No description provided.