Quote variables and url
This commit is contained in:
8
.github/workflows/versioning.yml
vendored
8
.github/workflows/versioning.yml
vendored
@@ -49,14 +49,14 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
git checkout main
|
git checkout main
|
||||||
git pull 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 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 push "https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git" main
|
||||||
|
|
||||||
- name: Delete Temporary Branch
|
- name: Delete Temporary Branch
|
||||||
if: always()
|
if: always()
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
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"
|
||||||
...
|
...
|
||||||
|
|||||||
Reference in New Issue
Block a user