[GH-ISSUE #344] Is there a way to specify, among multiple workflows, only one of the workflows to be run? #246

Closed
opened 2026-03-01 21:41:45 +03:00 by kerem · 3 comments
Owner

Originally created by @origliante on GitHub (Aug 25, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/344

As in the title, it looks impossible from the --help

Originally created by @origliante on GitHub (Aug 25, 2020). Original GitHub issue: https://github.com/nektos/act/issues/344 As in the title, it looks impossible from the --help
kerem 2026-03-01 21:41:45 +03:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@cdb commented on GitHub (Aug 31, 2020):

@origliante - I believe you can target a specific workflow file by passing the path directly to that file with the --workflows flag, as in act <event-name> --workflows .github/workflows/file-to-focus-on.yaml

The code handles both a directory or file in that argument: github.com/nektos/act@3eef111e46/pkg/model/planner.go (L59-L67)

<!-- gh-comment-id:683970279 --> @cdb commented on GitHub (Aug 31, 2020): @origliante - I believe you can target a specific workflow file by passing the path directly to that file with the `--workflows` flag, as in `act <event-name> --workflows .github/workflows/file-to-focus-on.yaml` The code handles both a directory or file in that argument: https://github.com/nektos/act/blob/3eef111e46f42f43e62b64e6cdfbade4fe0935e2/pkg/model/planner.go#L59-L67
Author
Owner

@github-actions[bot] commented on GitHub (Oct 31, 2020):

Issue is stale and will be closed in 7 days unless there is new activity

<!-- gh-comment-id:719853949 --> @github-actions[bot] commented on GitHub (Oct 31, 2020): Issue is stale and will be closed in 7 days unless there is new activity
Author
Owner

@github-actions[bot] commented on GitHub (Jan 8, 2021):

Issue is stale and will be closed in 7 days unless there is new activity

<!-- gh-comment-id:756474874 --> @github-actions[bot] commented on GitHub (Jan 8, 2021): Issue is stale and will be closed in 7 days unless there is new activity
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#246
No description provided.