act/pkg
Alex Savchuk 21484b5c1e
fix: show workflow info even if on.push is not defined () ()
* fix: show workflow info even if on.push is not defined ()

To fix listing of workflows in such cases list/graph filtering was split with planning.

Now act supports one of the following list (-l)/graph (-g) cases:
* show all jobs of loaded workflows: act -l
* show specific job JOBNAME: act -l -j JOBNAME
* show jobs of loaded workflows in which event EVENTNAME is set up: act -l EVENTNAME
* show jobs of loaded workflows in which first defined workflow event is set up: act -l --detect-event

For planning it supports:
* running specific job JOBNAME with triggered event determined from:
** CLI argument: act -j JOBNAME EVENTNAME
** first defined in loaded workflows event: act -j  JOBNAME --detect-event
** only defined in loaded workflows event: act -j JOBNAME
** push event by default: act -j JOBNAME

*  running jobs of loaded workflows in which event is set up, event is determined from:
** CLI argument: act EVENTNAME
** first defined in loaded workflows event: act --detect-event
** only defined in loaded workflows event: act
** push event by default: act

Except  this PR fixes , 

* Update docs/help
2022-09-29 05:59:52 +00:00
..
artifacts lint: add ReadHeaderTimeout () 2022-07-25 12:12:48 +00:00
common Improve logging () 2022-06-17 15:55:21 +00:00
container support runner.arch () 2022-08-29 15:39:31 +00:00
exprparser implement pre and post steps () 2022-05-24 13:36:06 +00:00
model fix: show workflow info even if on.push is not defined () () 2022-09-29 05:59:52 +00:00
runner fix: restore the job logger setup after job cancelation () 2022-09-27 19:13:32 +00:00