[GH-ISSUE #1903] Enable support for referential runner names #919

Open
opened 2026-03-01 21:47:26 +03:00 by kerem · 0 comments
Owner

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 .actrc file that sets some global options including defining what image I want ubuntu-latest to 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 -P command as expected. However you cannot use one of these global runner names such as:

act -p -P python-runner-v2=ubuntu-latest

This throws an error because it's actually trying to pull the ubuntu-latest docker image (which doesn't exist, of course).

Instead, I have to go to my global options and see what I have saved for ubuntu-latest and then use that value in my command. Having a way to just reference another runner name would be much simpler and more productive.

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 `.actrc` file that sets some global options including defining what image I want `ubuntu-latest` to 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 `-P` command as expected. However you cannot use one of these global runner names such as: `act -p -P python-runner-v2=ubuntu-latest` This throws an error because it's actually trying to pull the `ubuntu-latest` docker image (which doesn't exist, of course). Instead, I have to go to my global options and see what I have saved for `ubuntu-latest` and then use that value in my command. Having a way to just reference another runner name would be much simpler and more productive.
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#919
No description provided.