mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #1363] [MERGED] Mapping workflow_dispatch inputs into the Expression inputs context #1905
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1905
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:workflow_dispatch_inputs📝 Commits (5)
a9e758etest: check workflow_dispatch inputsccdfa98feat: map workflow_dispatch input to expression evaluator6a5b1b1fix: coerce boolean input typesdb1e91ffix: use step env if available, rc env otherwisec767290Merge 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
inputscontext and maintaining the boolean type.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.