fix(releases): Adds git credentials (#499)
This commit is contained in:
parent
47dd962725
commit
0895d43624
1 changed files with 13 additions and 1 deletions
14
.github/workflows/create-release.yml
vendored
14
.github/workflows/create-release.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue