mirror of
https://github.com/nektos/act.git
synced 2026-04-25 17:05:50 +03:00
[PR #5994] feat: split platform arg by the last = #2651
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#2651
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/5994
Author: @samuelhnrq
Created: 1/15/2026
Status: 🔄 Open
Base:
master← Head:parse-platform-equal📝 Commits (3)
e3487f3fix: split platform arg by the last =a5910e8fix: do not consider strings starting with =c802ad7feat: add platform multi = tests📊 Changes
2 files changed (+52 additions, -3 deletions)
View changed files
📝
cmd/platforms.go(+12 -3)➕
cmd/platforms_test.go(+40 -0)📄 Description
Changes the parsing of the -P/--platform flag to consider the last = instead of the first.
Point being
=is a valid character for a runs-on definition but it's not for docker images. Splitting the -P flag at the last=should be a good enough heuristic to support equal character while still being backward compatible.Fixes #4691
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.