-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* fix(badgetizr): Fix version + help + parameter * docs(badgetizr): Add visual badges, fix action description, improve documentation * feat(badge): Support sed for pattern and fix boolean
- Loading branch information
Showing
9 changed files
with
137 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,55 @@ | ||
badge_ci: | ||
enabled: false | ||
enabled: "true" | ||
settings: | ||
color: "purple" | ||
label: "Bitrise" | ||
logo: "bitrise" | ||
label_color: "black" | ||
label: "Build" | ||
logo: "github" | ||
color: darkgreen | ||
|
||
badge_ticket: | ||
enabled: true | ||
enabled: "true" | ||
settings: | ||
color: "black" | ||
label: "Github" | ||
label: "Issue" | ||
sed_pattern: '.*\[GH-([0-9]+)\].*' | ||
url: "https://github.com/aiKrice/badgetizr/issues/%s" | ||
logo: "github" | ||
|
||
badge_base_branch: | ||
enabled: true | ||
enabled: "false" | ||
settings: | ||
color: "orange" | ||
label: "Base Branch" | ||
base_branch: "develop" | ||
|
||
badge_wip: | ||
enabled: true | ||
enabled: "true" | ||
settings: | ||
color: "yellow" | ||
label: "WIP" | ||
logo: "vlcmediaplayer" | ||
|
||
badge_dynamic: | ||
enabled: true | ||
enabled: "true" | ||
settings: | ||
patterns: | ||
- badge_1: | ||
pattern: "- [ ] Task 1" | ||
sed_pattern: '(- \[ \] Task 1)' | ||
label: "Task 1" | ||
value: "Missing" | ||
color: "orange" | ||
- badge_2: | ||
pattern: "- [x] Task 1" | ||
sed_pattern: '(- \[x\] Task 1)' | ||
label: "Task 1" | ||
value: "Completed" | ||
color: "forestgreen" | ||
- badge_3: | ||
pattern: "- [ ] Task 2" | ||
sed_pattern: '(- \[x\] Task 2)' | ||
label: "Task 2" | ||
value: "Missing" | ||
color: "orange" | ||
- badge_3: | ||
pattern: "- [x] Task 2" | ||
- badge_4: | ||
sed_pattern: '(- [ ] Task 2)' | ||
label: "Task 2" | ||
value: "Completed" | ||
color: "forestgreen" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,54 @@ | ||
badge_ci: | ||
enabled: true | ||
enabled: "false" | ||
settings: | ||
color: "purple" | ||
label: "Bitrise" | ||
logo: "bitrise" | ||
|
||
badge_ticket: | ||
enabled: true | ||
enabled: "true" | ||
settings: | ||
color: "blue" | ||
label: "JIRA" | ||
sed_pattern: '.*\(([^)]+)\).*' | ||
url: "https://yourproject.atlassian.net/browse/%s" | ||
logo: "jirasoftware" | ||
color: "black" | ||
label: "Github" | ||
sed_pattern: '.*\[GH-([0-9]+)\].*' | ||
url: "https://github.com/aiKrice/badgetizr/issues/%s" | ||
logo: "github" | ||
|
||
badge_base_branch: | ||
enabled: true | ||
enabled: "false" | ||
settings: | ||
color: "orange" | ||
label: "Base Branch" | ||
base_branch: "develop" | ||
|
||
badge_wip: | ||
enabled: true | ||
enabled: "true" | ||
settings: | ||
color: "yellow" | ||
label: "WIP" | ||
logo: "vlcmediaplayer" | ||
|
||
badge_dynamic: | ||
enabled: true | ||
enabled: "true" | ||
settings: | ||
patterns: | ||
- badge_1: | ||
pattern: "- [ ] Task 1" | ||
sed_pattern: '(- \[ \] Task 1)' | ||
label: "Task 1" | ||
value: "Not done" | ||
value: "Missing" | ||
color: "orange" | ||
- badge_2: | ||
pattern: "- [x] Task 2" | ||
sed_pattern: '(- \[x\] Task 1)' | ||
label: "Task 1" | ||
value: "Completed" | ||
color: "forestgreen" | ||
- badge_3: | ||
sed_pattern: '(- \[x\] Task 2)' | ||
label: "Task 2" | ||
value: "Missing" | ||
color: "orange" | ||
- badge_4: | ||
sed_pattern: '(- [ ] Task 2)' | ||
label: "Task 2" | ||
value: "Done" | ||
color: "darkgreen" | ||
value: "Completed" | ||
color: "forestgreen" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.