[PR #901] [CLOSED] test: add testdata for pre/post actions #1675

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/901
Author: @ZauberNerd
Created: 11/24/2021
Status: Closed

Base: masterHead: add-pre-post-testdata


📝 Commits (1)

  • b462fb0 test: add testdata for pre/post actions

📊 Changes

11 files changed (+85 additions, -0 deletions)

View changed files

pkg/runner/testdata/actions/pre-post-if/action.yml (+18 -0)
pkg/runner/testdata/actions/pre-post-if/main.js (+1 -0)
pkg/runner/testdata/actions/pre-post-if/post.js (+5 -0)
pkg/runner/testdata/actions/pre-post-if/pre.js (+5 -0)
pkg/runner/testdata/actions/pre-post/action.yml (+16 -0)
pkg/runner/testdata/actions/pre-post/main.js (+1 -0)
pkg/runner/testdata/actions/pre-post/post.js (+5 -0)
pkg/runner/testdata/actions/pre-post/pre.js (+5 -0)
pkg/runner/testdata/remote-action-with-post-step-failing/push.yml (+10 -0)
pkg/runner/testdata/remote-action-with-pre-and-post-step/push.yml (+9 -0)
pkg/runner/testdata/remote-action-with-pre-step-failing/push.yml (+10 -0)

📄 Description

This is in preparation for https://github.com/nektos/act/pull/861
Because local actions cannot have a pre-step, we need to reference the
test actions as remote actions from nektos/act/...@master


🔄 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/901 **Author:** [@ZauberNerd](https://github.com/ZauberNerd) **Created:** 11/24/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `add-pre-post-testdata` --- ### 📝 Commits (1) - [`b462fb0`](https://github.com/nektos/act/commit/b462fb0527fc1a320f488ef0246b4d23bd519517) test: add testdata for pre/post actions ### 📊 Changes **11 files changed** (+85 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `pkg/runner/testdata/actions/pre-post-if/action.yml` (+18 -0) ➕ `pkg/runner/testdata/actions/pre-post-if/main.js` (+1 -0) ➕ `pkg/runner/testdata/actions/pre-post-if/post.js` (+5 -0) ➕ `pkg/runner/testdata/actions/pre-post-if/pre.js` (+5 -0) ➕ `pkg/runner/testdata/actions/pre-post/action.yml` (+16 -0) ➕ `pkg/runner/testdata/actions/pre-post/main.js` (+1 -0) ➕ `pkg/runner/testdata/actions/pre-post/post.js` (+5 -0) ➕ `pkg/runner/testdata/actions/pre-post/pre.js` (+5 -0) ➕ `pkg/runner/testdata/remote-action-with-post-step-failing/push.yml` (+10 -0) ➕ `pkg/runner/testdata/remote-action-with-pre-and-post-step/push.yml` (+9 -0) ➕ `pkg/runner/testdata/remote-action-with-pre-step-failing/push.yml` (+10 -0) </details> ### 📄 Description This is in preparation for https://github.com/nektos/act/pull/861 Because local actions cannot have a pre-step, we need to reference the test actions as remote actions from nektos/act/...@master --- <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:11 +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#1675
No description provided.