3 ms·
Was this because a shell script was using interpolation to add branch name to a shell command? Maybe we should start getting rid of string substitution-based sh
by codedokode 2y ago
Was this because a shell script was using interpolation to add branch name to a shell command? Maybe we should start getting rid of string substitution-based shells?
- csixty4 2y agoCorrect. The GitHub Action was doing `git pull origin ${{ github.head_ref || github.ref }}` In the pull_request_target action, $github.ref is the name of the branch, which in this case included a curl request for a shell script, a pipe character, and bash.