Skip to content

Commit

Permalink
Updated regex used in extracting test PR status (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
CatChen authored Oct 22, 2022
1 parent 1f1dc7b commit 9011149
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
| Check | Status | URL |
| --- | --- | --- |
$(cat $CHECKS_TEMP_FILE | grep -E 'https://github.com/[^/]*/[^/]*/runs/' | sed -E 's/(.*)\t(.*)\t(.*)\t(.*)/| \1 | \2 | \4 |/')"
$(cat $CHECKS_TEMP_FILE | grep -E 'https://' | sed -E 's/(.*)\t(.*)\t(.*)\t(.*)/| \1 | \2 | \4 |/')"
rm -f $CHECKS_TEMP_FILE
- name: Close PR
Expand Down Expand Up @@ -301,7 +301,7 @@ jobs:
| Check | Status | URL |
| --- | --- | --- |
$(cat $CHECKS_TEMP_FILE | grep -E 'https://github.com/[^/]*/[^/]*/runs/' | sed -E 's/(.*)\t(.*)\t(.*)\t(.*)/| \1 | \2 | \4 |/')"
$(cat $CHECKS_TEMP_FILE | grep -E 'https://' | sed -E 's/(.*)\t(.*)\t(.*)\t(.*)/| \1 | \2 | \4 |/')"
rm -f $CHECKS_TEMP_FILE
- name: Close PR
Expand Down

0 comments on commit 9011149

Please sign in to comment.