mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #2031] Command line Flag to specify subset of workflows / single workflow #974
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#974
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 @Charles-Schleich on GitHub (Sep 28, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/2031
Act version
act version 0.2.51
Feature description
Hello, super useful tool you have written.
I'm not sure if i missed it in the docs, but it it seems that there is no easy way to run just a single workflow / subset of workflows.
adding
if: ${{ !github.event.act }} # skip during local actions testingthe yaml file of each workflow we dont want to run is a tedious process if you have many workflows.Is there a simple way to specify a single workflow and run only that workflow ?
Something akin to
act --run-only myworkflow.ymloract --run-only wf1.yml,wf2.yml,wf3.yml@Charles-Schleich commented on GitHub (Sep 28, 2023):
Ah i didnt realize
-Wcould be used for a single file,I thought it only accepted a directory with all workflows.
act -W ./path/to/workflow.yamlThanks !