[PR #1363] [MERGED] Mapping workflow_dispatch inputs into the Expression inputs context #1905

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1363
Author: @KnisterPeter
Created: 9/26/2022
Status: Merged
Merged: 10/17/2022
Merged by: @mergify[bot]

Base: masterHead: workflow_dispatch_inputs


📝 Commits (5)

  • a9e758e test: check workflow_dispatch inputs
  • ccdfa98 feat: map workflow_dispatch input to expression evaluator
  • 6a5b1b1 fix: coerce boolean input types
  • db1e91f fix: use step env if available, rc env otherwise
  • c767290 Merge branch 'master' into workflow_dispatch_inputs

📊 Changes

5 files changed (+136 additions, -14 deletions)

View changed files

📝 pkg/model/workflow.go (+45 -0)
📝 pkg/runner/expression.go (+40 -13)
📝 pkg/runner/runner_test.go (+9 -1)
pkg/runner/testdata/workflow_dispatch/event.json (+6 -0)
pkg/runner/testdata/workflow_dispatch/workflow_dispatch.yml (+36 -0)

📄 Description

This changes adds the workflow_dispatch event inputs to the inputs context and maintaining the boolean type.


🔄 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/1363 **Author:** [@KnisterPeter](https://github.com/KnisterPeter) **Created:** 9/26/2022 **Status:** ✅ Merged **Merged:** 10/17/2022 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `workflow_dispatch_inputs` --- ### 📝 Commits (5) - [`a9e758e`](https://github.com/nektos/act/commit/a9e758e3025af2194e5053e08e0ebac55fd10a59) test: check workflow_dispatch inputs - [`ccdfa98`](https://github.com/nektos/act/commit/ccdfa98ee904c0ea8d05bb6e23f73e503a3bdd63) feat: map workflow_dispatch input to expression evaluator - [`6a5b1b1`](https://github.com/nektos/act/commit/6a5b1b17b0f85a3c1311d7cbfa43d9b468fd041b) fix: coerce boolean input types - [`db1e91f`](https://github.com/nektos/act/commit/db1e91ffbcaf40ee61e2344118970fe007535533) fix: use step env if available, rc env otherwise - [`c767290`](https://github.com/nektos/act/commit/c7672908da1bcfc7fd27f5071d155bf1b413e506) Merge branch 'master' into workflow_dispatch_inputs ### 📊 Changes **5 files changed** (+136 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `pkg/model/workflow.go` (+45 -0) 📝 `pkg/runner/expression.go` (+40 -13) 📝 `pkg/runner/runner_test.go` (+9 -1) ➕ `pkg/runner/testdata/workflow_dispatch/event.json` (+6 -0) ➕ `pkg/runner/testdata/workflow_dispatch/workflow_dispatch.yml` (+36 -0) </details> ### 📄 Description This changes adds the workflow_dispatch event inputs to the `inputs` context and maintaining the boolean type. --- <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:10 +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#1905
No description provided.