We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2e85532 + bda882b commit 6e2906cCopy full SHA for 6e2906c
main.sh
@@ -17,6 +17,17 @@ stars=$(printf "%-30s" "*")
17
export RTBOT_WORKSPACE="/home/rtbot/github-workspace"
18
hosts_file="$GITHUB_WORKSPACE/.github/hosts.yml"
19
20
+# Delete all the folders to be skipped to ignore them from being scanned.
21
+if [[ -n "$SKIP_FOLDERS" ]]; then
22
+
23
+ folders=(${SKIP_FOLDERS//,/ })
24
25
+ for folder in ${folders[@]}; do
26
+ path_of_folder="$GITHUB_WORKSPACE/$folder"
27
+ [[ -d "$path_of_folder" ]] && rm -rf $path_of_folder
28
+ done
29
+fi
30
31
rsync -a "$GITHUB_WORKSPACE/" "$RTBOT_WORKSPACE"
32
rsync -a /root/vip-go-ci-tools/ /home/rtbot/vip-go-ci-tools
33
chown -R rtbot:rtbot /home/rtbot/
0 commit comments