mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #1432] [MERGED] fix: nil pointer access ( workflow_dispatch ) #1946
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#1946
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/1432
Author: @ChristopherHX
Created: 11/9/2022
Status: ✅ Merged
Merged: 11/10/2022
Merged by: @mergify[bot]
Base:
master← Head:ChristopherHX-patch-1📝 Commits (7)
89a14adUpdate expression.go3bcd039[no ci]9985d70[no ci]105d24d[no ci]2741ec2[no ci]6e6d5f8[no ci]42c2406Update runner_test.go📊 Changes
5 files changed (+50 additions, -9 deletions)
View changed files
📝
pkg/runner/expression.go(+11 -9)📝
pkg/runner/runner_test.go(+3 -0)➕
pkg/runner/testdata/workflow_dispatch-scalar-composite-action/workflow_dispatch.yml(+17 -0)➕
pkg/runner/testdata/workflow_dispatch-scalar/workflow_dispatch.yml(+9 -0)➕
pkg/runner/testdata/workflow_dispatch_no_inputs_mapping/workflow_dispatch.yml(+10 -0)📄 Description
Reason for this change
WorkflowDispatchConfig can return nil and the inputs property can also be nil see bug report.
This happens for example in composite actions.
Closes #1430
Commit Message
{{title}}
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.