Skip to content

Commit 8025b9b

Browse files
authored
Update vcpkg-auto-update.yml
Signed-off-by: Max Raiskii <max.raiskii@meshinspector.com>
1 parent 0a8256d commit 8025b9b

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/vcpkg-auto-update.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,7 @@ jobs:
4949
echo "Tags are the same. No action needed."
5050
echo "need_vcpkg_update=false" >> $GITHUB_OUTPUT
5151
fi
52-
53-
- name: Bump vcpkg
54-
if: ${{ steps.compare.outputs.need_vcpkg_update == 'true' }}
55-
env:
56-
GITHUB_TOKEN: ${{ secrets.MESHINSPECTOR_BOT_VCPKG_UPDATE_TOKEN }}
57-
run: echo "Starting vcpkg update..."
58-
52+
5953
- name: Configure Git
6054
run: |
6155
git config --global user.email "${{ secrets.MESHINSPECTOR_BOT_EMAIL }}@gmail.com"
@@ -82,8 +76,9 @@ jobs:
8276
run: |
8377
git commit -am "Update vcpkg tag to ${{ steps.get-latest-tag.outputs.latest_vcpkg_tag }}"
8478
85-
- name: Push branch using GitHub CLI
79+
- name: Push branch
8680
run: |
81+
git config --local http.https://github.com/.extraheader "AUTHORIZATION: basic $(echo -n x-access-token:${{ secrets.MESHINSPECTOR_BOT_VCPKG_UPDATE_TOKEN }} | base64)"
8782
git push --set-upstream origin ${new_branch}
8883
8984
- name: Create Pull Request

0 commit comments

Comments
 (0)