Skip to content

Commit

Permalink
Quote variables and url
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardtfn committed Dec 21, 2024
1 parent 3f4fc7a commit 2d79ee4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/versioning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git checkout main
git pull https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git main
git merge --no-ff $TEMP_BRANCH -m "Automated Version Bump [skip-versioning]"
git push https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git main
git pull "https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git" main
git merge --no-ff "$TEMP_BRANCH" -m "Automated Version Bump [skip-versioning]"
git push "https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git" main
- name: Delete Temporary Branch
if: always()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git push https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git --delete $TEMP_BRANCH
git push "https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git" --delete "$TEMP_BRANCH"
...

0 comments on commit 2d79ee4

Please sign in to comment.