From: Junio C Hamano Date: Thu, 07 May 2020 19:53:09 GMT Subject: Re: [PATCH v2] ci: allow per-branch config for GitHub Actions Message-ID: In-Reply-To: <20200507162011.GA3638906@coredump.intra.peff.net> Jeff King writes: > + - id: check-ref > + name: check whether CI is enabled for ref > + run: | > + enabled=yes > + if test -x config-repo/ci/config/allow-ref && > + ! config-repo/ci/config/allow-ref '${{ github.ref }}' Is it deliberate that the output from the script is not redirected to >/dev/null, which would mean they are allowed to do something that looks like: echo "::set-output name=enabled::frotz" or emit other random ::string-that-affects-github-actions to its standard output stream? > + then > + enabled=no > + fi > + echo "::set-output name=enabled::$enabled"