mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2025-12-17 05:28:28 +00:00
PR Test Autocomment: Include Errors
Currently, only `yarn all`'s stdout is commented. However, yarn may also produce relevant stdout, so we should include it. Additionally, comment yarn output even if it fails.
This commit is contained in:
parent
5ec44f8ee5
commit
c9dee1a48b
1 changed files with 1 additions and 1 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -19,7 +19,7 @@ jobs:
|
||||||
echo ${{ github.event.number }} | tee ./pr/number
|
echo ${{ github.event.number }} | tee ./pr/number
|
||||||
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
|
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
|
||||||
echo "all_result<<$EOF" >> "$GITHUB_ENV"
|
echo "all_result<<$EOF" >> "$GITHUB_ENV"
|
||||||
yarn all >> "$GITHUB_ENV"
|
yarn all >> "$GITHUB_ENV" 2&>1 || true # proceed even if yarn fails
|
||||||
echo "$EOF" >> "$GITHUB_ENV"
|
echo "$EOF" >> "$GITHUB_ENV"
|
||||||
id: all
|
id: all
|
||||||
- uses: ./
|
- uses: ./
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue