Skip to content

Commit c015c61

Browse files
committed
DQSAAS-862 Update readme with latest improvemet
1 parent a6d1ddf commit c015c61

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ but just those which pass evaluation checks.
66
Example use case "push all commits pushed to branch develop more than 30 minutes ago to branch master"
77
88
Usage:
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
1111
Flags:
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

0 commit comments

Comments
 (0)