Skip to content

Commit 7d10c44

Browse files
committed
[UTILITIES] : helper script added
1 parent 015d5d6 commit 7d10c44

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

test/resources/scripts/pr_helper.sh

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,25 @@ PR=159
44
gh pr checkout $PR
55

66
git pull origin release/release-v0.x
7-
87
# npm install
98
npm install
10-
git push
119

10+
#COMMIT
11+
12+
git push
1213
# GIT PUSH and then checks ( validate )
1314
# watching checks running
14-
watch -n 3 "gh pr checks $PR"
15-
16-
17-
#MERGE PR, delete branch and merge in place of other options
15+
#watch -n 3 "gh pr checks $PR"
16+
watch -n 3 "
17+
gh pr checks $PR; echo '---------------';
18+
echo 'PENDING:'
19+
gh pr checks $PR | grep -o pend | wc -w;
20+
echo
21+
echo 'PASSED:'
22+
gh pr checks $PR | grep -o pass | wc -w;
23+
echo
24+
echo 'FAILED:'
25+
gh pr checks $PR | grep -o fail | wc -w;
26+
";
27+
#MERGE PR
1828
gh pr merge $PR -d -m
19-

0 commit comments

Comments
 (0)