Skip to content

Commit

Permalink
[script] suppress GitHub Actions check annotations (openthread#5001)
Browse files Browse the repository at this point in the history
  • Loading branch information
bukepo authored May 26, 2020
1 parent cdd6237 commit dd1be49
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bootstrap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Copyright (c) 2016, The OpenThread Authors.
# All rights reserved.
Expand Down Expand Up @@ -38,4 +38,8 @@ nlbuild_autotools_stem="third_party/nlbuild-autotools/repo"

abs_srcdir=$(cd "$(dirname "${0}")" && pwd)

(cd "$abs_srcdir" && exec "$abs_srcdir/$nlbuild_autotools_stem/scripts/bootstrap" -I "$abs_srcdir/$nlbuild_autotools_stem" "${@}")
# filter out knowning information from stderr which is causing GitHub annotation check warnings.
(cd "$abs_srcdir" && exec "$abs_srcdir/$nlbuild_autotools_stem/scripts/bootstrap" -I "$abs_srcdir/$nlbuild_autotools_stem" "${@}") 2> \
>(grep -v "installing 'third_party/nlbuild-autotools/repo/third_party/autoconf/missing'" \
| grep -v "installing 'third_party/nlbuild-autotools/repo/third_party/autoconf/compile'" \
| grep -v "installing 'third_party/nlbuild-autotools/repo/third_party/autoconf/depcomp'" 1>&2)

0 comments on commit dd1be49

Please sign in to comment.