This is an automated email from the ASF dual-hosted git repository.

hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin-Casbin.NET.git


The following commit(s) were added to refs/heads/master by this push:
     new eeb4405  fix: pass GITHUB_TOKEN explicitly to CI semantic-release step
eeb4405 is described below

commit eeb44055b7e304f2474c02aae50b18bc3855a8a3
Author: Yang Luo <[email protected]>
AuthorDate: Tue Jun 16 22:11:56 2026 +0800

    fix: pass GITHUB_TOKEN explicitly to CI semantic-release step
---
 .github/workflows/release.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 5c34358..5b3f0dd 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -95,6 +95,8 @@ jobs:
           node-version: 20
 
       - name: Run semantic-release
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         run: |
           export PATH=$PATH:$(yarn global bin)
           yarn global add [email protected]
@@ -165,4 +167,6 @@ jobs:
           run: dotnet nuget push .\packages\*.nupkg -s github.com -k 
$env:GITHUB_TOKEN --skip-duplicate --timeout 600;
 
         - name: Push packages to nuget.org
+          env:
+            NUGET_API_TOKEN: ${{ secrets.NUGET_API_KEY }}
           run: dotnet nuget push .\packages\*.nupkg -s nuget.org -k 
$env:NUGET_API_TOKEN --skip-duplicate


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to