workflows: don't silence stderr

This commit is contained in:
Bo Anderson 2021-09-10 15:05:27 +01:00
parent 4d07fb9c2e
commit 4d2a2c87aa
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65
3 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ jobs:
git commit -m "sorbet: Update RBI files." \
-m "Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow."
echo "::set-output name=committed::true"
PULL_REQUEST_STATE=$(gh pr view --json=state 2>/dev/null)
PULL_REQUEST_STATE=$(gh pr view --json=state)
if [ "$PULL_REQUEST_STATE" != "OPEN" ]; then
echo "::set-output name=pull_request::true"
fi

View File

@ -47,7 +47,7 @@ jobs:
git add "$GITHUB_WORKSPACE/Library/Homebrew/data/spdx"
git commit -m "spdx: update license data." -m "Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/spdx.yml)."
echo "::set-output name=committed::true"
PULL_REQUEST_STATE=$(gh pr view --json=state 2>/dev/null)
PULL_REQUEST_STATE=$(gh pr view --json=state)
if [ "$PULL_REQUEST_STATE" != "OPEN" ]; then
echo "::set-output name=pull_request::true"
fi

View File

@ -63,7 +63,7 @@ jobs:
git commit -m "Update maintainers, manpage and completions." \
-m "Autogenerated by the [update-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-man-completions.yml) workflow."
echo "::set-output name=committed::true"
PULL_REQUEST_STATE=$(gh pr view --json=state 2>/dev/null)
PULL_REQUEST_STATE=$(gh pr view --json=state)
if [ "$PULL_REQUEST_STATE" != "OPEN" ]; then
echo "::set-output name=pull_request::true"
fi