Skip to content

Commit 640e339

Browse files
authored
Merge pull request #57 from pleonex/feature/replace-release-token
Replace GitHub token to access release notes
2 parents fe6e2aa + c8ca270 commit 640e339

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: "Generate release notes"
3838
run: dotnet cake --target=Generate-ReleaseNotes --verbosity=diagnostic
3939
env:
40-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
4141

4242
- name: "Build and stage"
4343
run: dotnet cake --target=Stage-Artifacts --configuration=Release --verbosity=diagnostic
@@ -90,7 +90,7 @@ jobs:
9090
- name: "Publish artifacts"
9191
run: dotnet cake --target=Push-Artifacts --verbosity=diagnostic
9292
env:
93-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
93+
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
9494
STABLE_NUGET_FEED_TOKEN: ${{ secrets.STABLE_NUGET_FEED_TOKEN }}
9595
PREVIEW_NUGET_FEED_TOKEN: "az" # Dummy, auth via below env var
9696
VSS_NUGET_EXTERNAL_FEED_ENDPOINTS: '{"endpointCredentials": [{"endpoint":"${{ env.PREVIEW_NUGET_FEED }}", "username":"", "password":"${{ secrets.NUGET_PREVIEW_TOKEN }}"}]}'

0 commit comments

Comments
 (0)