fix(releases): Uses an access token for checkout (#501)
This commit is contained in:
parent
f1065b119d
commit
d61f07abd5
1 changed files with 1 additions and 4 deletions
5
.github/workflows/create-release.yml
vendored
5
.github/workflows/create-release.yml
vendored
|
|
@ -12,6 +12,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
|
||||
token: ${{ secrets.ACCESS_TOKEN }}
|
||||
- name: Install NGBV
|
||||
uses: dotnet/nbgv@master
|
||||
id: nbgv
|
||||
|
|
@ -22,10 +23,6 @@ jobs:
|
|||
owner: ModernUO
|
||||
repo: ModernUO
|
||||
excludes: prerelease, draft
|
||||
- name: Git Credentials
|
||||
uses: oleksiyrudenko/gha-git-credentials@v2-latest
|
||||
with:
|
||||
token: '${{ secrets.GITHUB_TOKEN }}'
|
||||
- name: Create fake tag for diffing
|
||||
run: |
|
||||
git config --global user.name "Fake Tag Action"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue