[PR #56] [MERGED] Render correct graph for non-default events #1341

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/56
Author: @aidansteele
Created: 4/8/2019
Status: Merged
Merged: 4/8/2019
Merged by: @cplee

Base: masterHead: graph-render


📝 Commits (1)

  • 589ff16 Render correct graph for non-default events

📊 Changes

3 files changed (+40 additions, -2 deletions)

View changed files

📝 actions/runner.go (+2 -2)
📝 actions/runner_test.go (+19 -0)
actions/testdata/multi.workflow (+19 -0)

📄 Description

(Thanks for the amazing project)

I noticed when running act -l for a workflow file that had multiple workflows, it would show the actions for push under each event.

I've submitted a fix for this as well as a test to prove correct output. Feel free to butcher this PR or replace it with your own work - just happy to try help :)


🔄 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/56 **Author:** [@aidansteele](https://github.com/aidansteele) **Created:** 4/8/2019 **Status:** ✅ Merged **Merged:** 4/8/2019 **Merged by:** [@cplee](https://github.com/cplee) **Base:** `master` ← **Head:** `graph-render` --- ### 📝 Commits (1) - [`589ff16`](https://github.com/nektos/act/commit/589ff1627177fb80d66df28477dffbc3836a507c) Render correct graph for non-default events ### 📊 Changes **3 files changed** (+40 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `actions/runner.go` (+2 -2) 📝 `actions/runner_test.go` (+19 -0) ➕ `actions/testdata/multi.workflow` (+19 -0) </details> ### 📄 Description (Thanks for the amazing project) I noticed when running `act -l` for a workflow file that had multiple workflows, it would show the actions for `push` under each event. I've submitted a fix for this as well as a test to prove correct output. Feel free to butcher this PR or replace it with your own work - just happy to try help :) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:50:46 +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#1341
No description provided.