[PR #596] [MERGED] Fail workflow if the job name is invalid #1516

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/596
Author: @catthehacker
Created: 4/2/2021
Status: Merged
Merged: 4/2/2021
Merged by: @cplee

Base: masterHead: fail-job-invalid-name


📝 Commits (1)

  • 84f8791 fix: fail workflow if the job name is invalid

📊 Changes

4 files changed (+56 additions, -0 deletions)

View changed files

📝 pkg/model/planner.go (+8 -0)
pkg/model/planner_test.go (+36 -0)
pkg/model/testdata/empty-workflow/push.yml (+0 -0)
pkg/model/testdata/invalid-job-name/push.yml (+12 -0)

📄 Description

Fixes #572


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nektos/act/pull/596 **Author:** [@catthehacker](https://github.com/catthehacker) **Created:** 4/2/2021 **Status:** ✅ Merged **Merged:** 4/2/2021 **Merged by:** [@cplee](https://github.com/cplee) **Base:** `master` ← **Head:** `fail-job-invalid-name` --- ### 📝 Commits (1) - [`84f8791`](https://github.com/nektos/act/commit/84f8791843907c47795bcbab741d7ccb35c1808e) fix: fail workflow if the job name is invalid ### 📊 Changes **4 files changed** (+56 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `pkg/model/planner.go` (+8 -0) ➕ `pkg/model/planner_test.go` (+36 -0) ➕ `pkg/model/testdata/empty-workflow/push.yml` (+0 -0) ➕ `pkg/model/testdata/invalid-job-name/push.yml` (+12 -0) </details> ### 📄 Description Fixes #572 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:51:31 +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#1516
No description provided.