[PR #714] [MERGED] Support container removal at exit. Fixes #694 #1574

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/714
Author: @jbenden
Created: 6/1/2021
Status: Merged
Merged: 6/10/2021
Merged by: @mergify[bot]

Base: masterHead: autoremove


📝 Commits (3)

  • 9083629 Support container removal at exit. Fixes #694
  • 8ea0205 Merge branch 'master' into autoremove
  • bf4194e Merge branch 'master' into autoremove

📊 Changes

3 files changed (+20 additions, -3 deletions)

View changed files

📝 cmd/input.go (+1 -0)
📝 cmd/root.go (+2 -0)
📝 pkg/runner/runner.go (+17 -3)

📄 Description

This patch adds a new command-line flag (--rm) to automatically
stop workflow container(s), just prior to exit. The default
behavior is kept, e.g.: the containers continue running at exit.

Fixes: #694
Signed-off-by: Joseph Benden joe@benden.us


🔄 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/714 **Author:** [@jbenden](https://github.com/jbenden) **Created:** 6/1/2021 **Status:** ✅ Merged **Merged:** 6/10/2021 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `autoremove` --- ### 📝 Commits (3) - [`9083629`](https://github.com/nektos/act/commit/9083629e63b27cd4252a25c33729e8b33abcde52) Support container removal at exit. Fixes #694 - [`8ea0205`](https://github.com/nektos/act/commit/8ea0205046ce2df12469436a7827faf2d1fc484f) Merge branch 'master' into autoremove - [`bf4194e`](https://github.com/nektos/act/commit/bf4194ed0e7e2fbb013206570741c61f78fe1e2a) Merge branch 'master' into autoremove ### 📊 Changes **3 files changed** (+20 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `cmd/input.go` (+1 -0) 📝 `cmd/root.go` (+2 -0) 📝 `pkg/runner/runner.go` (+17 -3) </details> ### 📄 Description This patch adds a new command-line flag (`--rm`) to automatically stop workflow container(s), just prior to exit. The default behavior is kept, e.g.: the containers continue running at exit. Fixes: #694 Signed-off-by: Joseph Benden <joe@benden.us> --- <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: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#1574
No description provided.