File tree 1 file changed +13
-8
lines changed
1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
+ set -euo pipefail
4
+
3
5
tq () {
4
6
toml2json " supply-chain/$1 " | jq -r " $2 | keys | .[]"
5
7
}
@@ -12,17 +14,20 @@ trusted=($(tq audits.toml '.trusted'))
12
14
exempted=($( tq config.toml ' .exemptions' ) )
13
15
14
16
log () {
15
- title=$1
16
- shift
17
+ emoji=$1
18
+ title=$2
19
+ shift 2
17
20
echo
18
- echo " <details><summary>$ title : $# </summary>"
21
+ echo " <details><summary><h1> $emoji </h1><h2> $ title : $# </h2> </summary>"
19
22
echo
20
- printf ' * %s\n' " $@ "
23
+ echo ' ```'
24
+ printf ' %s\n' " $@ "
25
+ echo ' ```'
21
26
echo
22
27
echo " </details>"
23
28
}
24
29
25
- log Audited " ${audited[@]} "
26
- log Imported " ${imported[@]} "
27
- log Trusted " ${trusted[@]} "
28
- log Exempted " ${exempted[@]} "
30
+ log 😍 Audited " ${audited[@]} "
31
+ log 😄 Imported " ${imported[@]} "
32
+ log 🙊 Trusted " ${trusted[@]} "
33
+ log 🙈 Exempted " ${exempted[@]} "
You can’t perform that action at this time.
0 commit comments