This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove bad "git switch" command
authorMax Maischein <corion@corion.net>
Fri, 13 Dec 2019 18:05:35 +0000 (19:05 +0100)
committerMax Maischein <corion@corion.net>
Fri, 13 Dec 2019 18:06:02 +0000 (19:06 +0100)
"git switch" isn't supported by Github git anyway

.github/workflows/smoke-information.yml

index abc30b9..fcd38c3 100644 (file)
@@ -25,9 +25,6 @@ jobs:
             if [ -n "${GITHUB_HEAD_REF}" ]; then
                 echo "Pull request authors"
                 # env
-                # Create the names of the branches here, as they don't seem
-                # to exist properly?!
-                git switch -c $GITHUB_HEAD_REF
                 echo git merge-base origin/${GITHUB_BASE_REF} ${GITHUB_HEAD_REF}
                 branch_off=$(git merge-base origin/${GITHUB_BASE_REF} ${GITHUB_HEAD_REF})
                 git log --pretty=format:"Author: %an <%ae>" $branch_off..${GITHUB_SHA}^2