[PR #1616] [MERGED] fix: crash malformed composite action #2032

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1616
Author: @ChristopherHX
Created: 2/6/2023
Status: Merged
Merged: 2/23/2023
Merged by: @mergify[bot]

Base: masterHead: fix-crash-malformed-composite-action


📝 Commits (3)

  • 37df9c5 fix: crash malformed composite action
  • 211ee4c Add remote composite action test
  • 3e0d23f Merge branch 'master' into fix-crash-malformed-composite-action

📊 Changes

4 files changed (+43 additions, -2 deletions)

View changed files

📝 pkg/runner/action.go (+8 -2)
📝 pkg/runner/action_composite.go (+4 -0)
📝 pkg/runner/runner_test.go (+2 -0)
pkg/runner/testdata/no-panic-on-invalid-composite-action/push.yml (+29 -0)

📄 Description

This adds some null checking.

Fixes #1605


🔄 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/1616 **Author:** [@ChristopherHX](https://github.com/ChristopherHX) **Created:** 2/6/2023 **Status:** ✅ Merged **Merged:** 2/23/2023 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `fix-crash-malformed-composite-action` --- ### 📝 Commits (3) - [`37df9c5`](https://github.com/nektos/act/commit/37df9c59582008ba1dda527d5ab7be7a281867da) fix: crash malformed composite action - [`211ee4c`](https://github.com/nektos/act/commit/211ee4c88fb007ad76ab409eda50d7d525d90c80) Add remote composite action test - [`3e0d23f`](https://github.com/nektos/act/commit/3e0d23fdacfa8d5956f7249021a3898e607f0187) Merge branch 'master' into fix-crash-malformed-composite-action ### 📊 Changes **4 files changed** (+43 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `pkg/runner/action.go` (+8 -2) 📝 `pkg/runner/action_composite.go` (+4 -0) 📝 `pkg/runner/runner_test.go` (+2 -0) ➕ `pkg/runner/testdata/no-panic-on-invalid-composite-action/push.yml` (+29 -0) </details> ### 📄 Description This adds some null checking. Fixes #1605 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:53:43 +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#2032
No description provided.