mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #1903] Enable support for referential runner names #919
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#919
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?
Originally created by @TheCleric on GitHub (Jul 10, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1903
Act version
0.2.46
Feature description
I have an
.actrcfile that sets some global options including defining what image I wantubuntu-latestto be.When running act against a repo with runners that I haven't predefined, I have to figure out which runner would be equivalent, and then pass it via the
-Pcommand as expected. However you cannot use one of these global runner names such as:act -p -P python-runner-v2=ubuntu-latestThis throws an error because it's actually trying to pull the
ubuntu-latestdocker image (which doesn't exist, of course).Instead, I have to go to my global options and see what I have saved for
ubuntu-latestand then use that value in my command. Having a way to just reference another runner name would be much simpler and more productive.