[GH-ISSUE #2101] The flag -P doesn't work well with self-hosted labels #1004

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

Originally created by @pauldruce on GitHub (Nov 21, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/2101

Act version

0.2.54

Feature description

When trying to run act against self-hosted runners. We use some extra flags to control which machine is selected - as recommended by GitHub:

I would really like to be able to use the -P flag to match against the full array. I.e.
-P [self-hosted, linux]=catthehacker/ubuntu:act-latest
-P [self-hosted, source=AWS]=catthehacker/ubuntu:act-latest

Originally created by @pauldruce on GitHub (Nov 21, 2023). Original GitHub issue: https://github.com/nektos/act/issues/2101 ### Act version 0.2.54 ### Feature description When trying to run act against self-hosted runners. We use some extra flags to control which machine is selected - as recommended by GitHub: - https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-self-hosted-runners - https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on I would really like to be able to use the -P flag to match against the full array. I.e. `-P [self-hosted, linux]=catthehacker/ubuntu:act-latest` `-P [self-hosted, source=AWS]=catthehacker/ubuntu:act-latest`
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#1004
No description provided.