We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b2e8167 + dd54894 commit f9afea8Copy full SHA for f9afea8
.github/workflows/check-implicit-this.yml
@@ -1,6 +1,13 @@
1
name: "Check implicit this warnings"
2
3
-on: workflow_dispatch
+on:
4
+ workflow_dispatch:
5
+ pull_request:
6
+ paths:
7
+ - "**qlpack.yml"
8
+ branches:
9
+ - main
10
+ - "rc/*"
11
12
jobs:
13
check:
@@ -15,7 +22,7 @@ jobs:
15
22
for pack_file in ${packs}; do
16
23
option="$(yq '.warnOnImplicitThis' ${pack_file})"
17
24
if [ "${option}" != "true" ]; then
18
- echo "warnOnImplicitThis property must be set to 'true' for pack ${pack_file}"
25
+ echo "::error file=${pack_file}::warnOnImplicitThis property must be set to 'true' for pack ${pack_file}"
19
26
EXIT_CODE=1
20
27
fi
21
28
done
0 commit comments