Skip to content

Commit

Permalink
LINBEE02573 | handle quotes in github
Browse files Browse the repository at this point in the history
  • Loading branch information
Elad Kohavi authored and Elad Kohavi committed Sep 10, 2023
1 parent 41da658 commit a3c3caf
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,11 @@ runs:
core.setOutput('base_ref', base_ref);
core.setOutput('head_ref', head_ref);
core.setOutput('url', url);
core.info(`base_ref ${base_ref}`)
core.info(`head_ref ${head_ref}`)
core.info(`url ${url}`)
- if: ${{ steps.cache-gitstream-results.outputs.cache-hit != 'true' }}
run: |
all=2147483647
cd gitstream
cd repo
echo "bash_ref ${{ steps.escape-quotes.outputs.base_ref }}"
echo "head_ref ${{ steps.escape-quotes.outputs.head_ref}}"
echo "url ${{ steps.escape-quotes.outputs.url }}"
git fetch --deepen=$all origin $'${{ steps.escape-quotes.outputs.base_ref }}'
git remote add upstream $'${{ steps.escape-quotes.outputs.url }}'
git fetch --deepen=$all upstream $'${{ steps.escape-quotes.outputs.head_ref }}'
Expand Down

0 comments on commit a3c3caf

Please sign in to comment.