Skip to content

Commit ffa9479

Browse files
authored
ci(release): use the new basic auth feature (#28)
1 parent 8ada880 commit ffa9479

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,9 @@ jobs:
3333
run: |
3434
git config --global user.name "${{ secrets.CB_RELEASE_BOT_NAME }}"
3535
git config --global user.email "${{ secrets.CB_RELEASE_BOT_EMAIL }}"
36-
# git config --local --replace-all url.https://github.com/.insteadOf ssh://[email protected]/
37-
# git config --local --add url.https://git:${{ steps.release-bot.outputs.token }}@github.com/.insteadOf [email protected]:
38-
# debugging purposes
39-
cat .git/config
4036
4137
- name: Bump Version
42-
run: git semver bump
43-
env:
44-
GITHUB_TOKEN: ${{ steps.release-bot.outputs.token }}
38+
run: git semver bump -u ${{ secrets.CB_RELEASE_BOT_NAME }} -P ${{ steps.release-bot.outputs.token }}
4539

4640
- name: GoReleaser
4741
uses: goreleaser/goreleaser-action@v2

0 commit comments

Comments
 (0)