[PR #1110] [MERGED] feat: implement pre-action step #1784

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1110
Author: @KnisterPeter
Created: 4/6/2022
Status: Merged
Merged: 5/12/2022
Merged by: @mergify[bot]

Base: implement-pre-and-post-stepsHead: pre-action-step


📝 Commits (1)

  • d77859a feat: run pre step from actions

📊 Changes

12 files changed (+376 additions, -111 deletions)

View changed files

📝 pkg/runner/action.go (+142 -40)
📝 pkg/runner/action_composite.go (+2 -8)
📝 pkg/runner/runner_test.go (+1 -0)
📝 pkg/runner/step.go (+1 -1)
📝 pkg/runner/step_action_local.go (+15 -7)
📝 pkg/runner/step_action_local_test.go (+41 -2)
📝 pkg/runner/step_action_remote.go (+67 -46)
📝 pkg/runner/step_action_remote_test.go (+68 -7)
pkg/runner/testdata/uses-action-with-pre-and-post-step/last-action/action.yml (+7 -0)
pkg/runner/testdata/uses-action-with-pre-and-post-step/last-action/main.js (+0 -0)
pkg/runner/testdata/uses-action-with-pre-and-post-step/last-action/post.js (+17 -0)
pkg/runner/testdata/uses-action-with-pre-and-post-step/push.yml (+15 -0)

📄 Description

This PR does implement the pre-action step for remote actions.


🔄 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/1110 **Author:** [@KnisterPeter](https://github.com/KnisterPeter) **Created:** 4/6/2022 **Status:** ✅ Merged **Merged:** 5/12/2022 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `implement-pre-and-post-steps` ← **Head:** `pre-action-step` --- ### 📝 Commits (1) - [`d77859a`](https://github.com/nektos/act/commit/d77859ae9ea91047072e0da1ee0edc6ac1c917ba) feat: run pre step from actions ### 📊 Changes **12 files changed** (+376 additions, -111 deletions) <details> <summary>View changed files</summary> 📝 `pkg/runner/action.go` (+142 -40) 📝 `pkg/runner/action_composite.go` (+2 -8) 📝 `pkg/runner/runner_test.go` (+1 -0) 📝 `pkg/runner/step.go` (+1 -1) 📝 `pkg/runner/step_action_local.go` (+15 -7) 📝 `pkg/runner/step_action_local_test.go` (+41 -2) 📝 `pkg/runner/step_action_remote.go` (+67 -46) 📝 `pkg/runner/step_action_remote_test.go` (+68 -7) ➕ `pkg/runner/testdata/uses-action-with-pre-and-post-step/last-action/action.yml` (+7 -0) ➕ `pkg/runner/testdata/uses-action-with-pre-and-post-step/last-action/main.js` (+0 -0) ➕ `pkg/runner/testdata/uses-action-with-pre-and-post-step/last-action/post.js` (+17 -0) ➕ `pkg/runner/testdata/uses-action-with-pre-and-post-step/push.yml` (+15 -0) </details> ### 📄 Description This PR does implement the pre-action step for remote actions. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:52:40 +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#1784
No description provided.