Commit ad2d235 1 parent dbb5388 commit ad2d235 Copy full SHA for ad2d235
File tree 5 files changed +32
-7
lines changed
5 files changed +32
-7
lines changed Original file line number Diff line number Diff line change 74
74
# =>
75
75
# service/vault
76
76
- strategy : generate
77
- description : " Modified this letsgo service directory"
77
+ description : " Modified this a service directory"
78
78
color : " $pink"
79
79
script : >
80
80
map(merge_request.diff_stats, { .path })
@@ -85,16 +85,16 @@ label:
85
85
86
86
# generate labels for commands
87
87
#
88
- # internal/app/letsgo /subcommands/aws/login/login.go
88
+ # internal/app/my-command /subcommands/aws/login/login.go
89
89
# =>
90
90
# command/aws/login
91
91
- strategy : generate
92
- description : " Modified this letsgo command"
92
+ description : " Modified this my-command command"
93
93
color : " $purple"
94
94
script : >
95
95
map(merge_request.diff_stats, { .path })
96
- | filter({ hasPrefix(#, "internal/app/letsgo /subcommands/") })
96
+ | filter({ hasPrefix(#, "internal/app/my-command /subcommands/") })
97
97
| map({ filepath_dir(#) })
98
- | map({ trimPrefix(#, "internal/app/letsgo /subcommands/") })
98
+ | map({ trimPrefix(#, "internal/app/my-command /subcommands/") })
99
99
| map({ string("command/" + #) })
100
100
| uniq()
Original file line number Diff line number Diff line change 97
97
# Generate list of labels via script
98
98
- strategy : generate
99
99
# With a description (optional)
100
- description : " Modified this letsgo service directory"
100
+ description : " Modified this service directory"
101
101
# With the color $pink
102
102
color : " $pink"
103
103
# From this script, returning a list of labels
@@ -213,7 +213,7 @@ label:
213
213
#
214
214
# depending on what directories are having files changed in a Merge Request.
215
215
- strategy: generate
216
- description: "Modified this letsgo service directory"
216
+ description: "Modified this service directory"
217
217
color: "$pink"
218
218
script: >
219
219
map(merge_request.diff_stats, { .path }) // Generate a list of all file paths that was changed in the Merge Request
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ set -e
3
+
4
+ rm -rf completions
5
+ mkdir completions
6
+
7
+ for sh in bash fish powershell zsh; do
8
+ go run . completion " $sh " > " completions/dottie.$sh "
9
+ done
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ set -e
3
+
4
+ rm -rf manpages
5
+ mkdir manpages
6
+
7
+ go run ./cmd | gzip -c -9 > manpages/dottie.1.gz
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -o pipefail && TEST_OPTIONS=" -json" task test | tee output.json | tparse -follow
4
+ success=$?
5
+
6
+ set -e
7
+ NO_COLOR=1 tparse -format markdown -slow 10 -file output.json > " $GITHUB_STEP_SUMMARY "
8
+
9
+ exit $success
You can’t perform that action at this time.
0 commit comments