File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ but just those which pass evaluation checks.
66Example use case "push all commits pushed to branch develop more than 30 minutes ago to branch master"
77
88Usage:
9- github-flow-manager [OWNER] [REPOSITORY] [SOURCE_BRANCH] [DESTINATION_BRANCH] [EXPRESSION] [flags]
9+ github-flow-manager [OWNER] [REPOSITORY] [SOURCE_BRANCH] [DESTINATION_BRANCH] [EXPRESSION] [SPECIFIC_COMMIT_CHECK_NAME - Optional] [ flags]
1010
1111Flags:
1212 -c, --commits-number int Number of commits to get under evaluation (>0, <=100) (default 100)
@@ -18,8 +18,13 @@ Flags:
1818```
1919
2020## Example
21+ - Evaluating commit status success based on the cumulative commit checks result
2122```
22- GITHUB_TOKEN=xxx github-flow-manager octocat Hello-World test master "StatusSuccess == false" --verbose --dry-run
23+ GITHUB_TOKEN=xxx github-flow-manager octocat Hello-World test master "StatusSuccess == false" "pipeline-name-to-be-checked" --verbose --dry-run
24+ ```
25+ - Passing specific commit check name for the evaluation of the status success of the commit
26+ ```
27+ GITHUB_TOKEN=xxx github-flow-manager octocat Hello-World test master "StatusSuccess == false" "pipeline-name-to-be-checked" --verbose --dry-run
2328```
2429
2530# Expressions
You can’t perform that action at this time.
0 commit comments