[PR #2446] [MERGED] fix: schema validation for job if functions #2447

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/2446
Author: @ChristopherHX
Created: 9/10/2024
Status: Merged
Merged: 9/10/2024
Merged by: @nektos-ci

Base: masterHead: 2444-act-0266-error-workflow-is-not-valid-spellingyml-line-112-column-5-failed-to-match-job-factory-line-119-column-9-unknown-function-call-success


📝 Commits (3)

  • a3c2c09 fix: schema validation for job if functions
  • 050440f Update pkg/schema/schema.go
  • 71fe493 Update pkg/schema/schema.go

📊 Changes

2 files changed (+117 additions, -7 deletions)

View changed files

📝 pkg/schema/schema.go (+25 -7)
pkg/schema/schema_test.go (+92 -0)

📄 Description

Fixes #2444

  • Add Tests

🔄 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/2446 **Author:** [@ChristopherHX](https://github.com/ChristopherHX) **Created:** 9/10/2024 **Status:** ✅ Merged **Merged:** 9/10/2024 **Merged by:** [@nektos-ci](https://github.com/nektos-ci) **Base:** `master` ← **Head:** `2444-act-0266-error-workflow-is-not-valid-spellingyml-line-112-column-5-failed-to-match-job-factory-line-119-column-9-unknown-function-call-success` --- ### 📝 Commits (3) - [`a3c2c09`](https://github.com/nektos/act/commit/a3c2c09a679d251413d4b4a5319e8c3adc494531) fix: schema validation for job if functions - [`050440f`](https://github.com/nektos/act/commit/050440f2afe1a4ec1ef23fec7c8c6de636480f5c) Update pkg/schema/schema.go - [`71fe493`](https://github.com/nektos/act/commit/71fe49322cb7463b2420dc69147a8c01189b2d3c) Update pkg/schema/schema.go ### 📊 Changes **2 files changed** (+117 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `pkg/schema/schema.go` (+25 -7) ➕ `pkg/schema/schema_test.go` (+92 -0) </details> ### 📄 Description Fixes #2444 * Add Tests --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:55:29 +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#2447
No description provided.