fix(releases): Adds git credentials (#499)

This commit is contained in:
Kamron Batman 2021-02-08 16:21:03 -08:00 committed by GitHub
parent 47dd962725
commit 0895d43624
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,15 @@ jobs:
owner: ModernUO owner: ModernUO
repo: ModernUO repo: ModernUO
excludes: prerelease, draft excludes: prerelease, draft
<<<<<<< Updated upstream
- name: Create Fake tag - name: Create Fake tag
=======
- name: Git Credentials
uses: oleksiyrudenko/gha-git-credentials@v2-latest
with:
token: '${{ secrets.GITHUB_TOKEN }}'
- name: Create fake tag for diffing
>>>>>>> Stashed changes
run: | run: |
git config --global user.name "Fake Tag Action" git config --global user.name "Fake Tag Action"
git config --global user.email "hi@modernuo.com" git config --global user.email "hi@modernuo.com"
@ -36,14 +44,18 @@ jobs:
id: changelog id: changelog
uses: TriPSs/conventional-changelog-action@v3 uses: TriPSs/conventional-changelog-action@v3
with: with:
github-token: ${{ secrets.github_token }} github-token: ${{ secrets.GITHUB_TOKEN }}
output-file: false output-file: false
skip-version-file: true skip-version-file: true
skip-commit: true skip-commit: true
release-count: 1 release-count: 1
<<<<<<< Updated upstream
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Delete v${{ steps.changelog.outputs.version }} Tag - name: Delete v${{ steps.changelog.outputs.version }} Tag
=======
- name: Delete Fake Release
>>>>>>> Stashed changes
uses: dev-drprasad/delete-tag-and-release@v0.1.3 uses: dev-drprasad/delete-tag-and-release@v0.1.3
with: with:
delete_release: true delete_release: true