ci: add GITEA_TOKEN for checkout authentication
NexusGuard CI/CD / server-core-test (push) Failing after 42s
NexusGuard CI/CD / server-core-build (push) Has been skipped
NexusGuard CI/CD / device-agent-test (push) Failing after 40s
NexusGuard CI/CD / device-agent-cross-build (amd64, linux) (push) Has been skipped
NexusGuard CI/CD / device-agent-cross-build (amd64, windows) (push) Has been skipped
NexusGuard CI/CD / device-agent-cross-build (arm64, linux) (push) Has been skipped
NexusGuard CI/CD / release (push) Has been skipped
NexusGuard CI/CD / dashboard-test (push) Failing after 36s
NexusGuard CI/CD / dashboard-dist (push) Has been skipped

This commit is contained in:
datadunia
2026-05-29 20:32:55 +07:00
parent 8be64111a1
commit 501f802b37
+8 -8
View File
@@ -7,7 +7,7 @@ on:
- 'dev-*'
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
BUILD_TOKEN: ${{ secrets.BUILD_TOKEN }}
jobs:
# ──────────────────────────────────────────────
@@ -23,7 +23,7 @@ jobs:
with:
submodules: true
fetch-depth: 0
token: ${{ secrets.GITEA_TOKEN }}
token: ${{ secrets.BUILD_TOKEN }}
- uses: actions/setup-go@v5
with:
go-version: '1.25'
@@ -40,7 +40,7 @@ jobs:
with:
submodules: true
fetch-depth: 0
token: ${{ secrets.GITEA_TOKEN }}
token: ${{ secrets.BUILD_TOKEN }}
- uses: actions/setup-go@v5
with:
go-version: '1.25'
@@ -57,7 +57,7 @@ jobs:
with:
submodules: true
fetch-depth: 0
token: ${{ secrets.GITEA_TOKEN }}
token: ${{ secrets.BUILD_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: '24'
@@ -79,7 +79,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.GITEA_TOKEN }}
token: ${{ secrets.BUILD_TOKEN }}
- uses: actions/setup-go@v5
with:
go-version: '1.25'
@@ -108,7 +108,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.GITEA_TOKEN }}
token: ${{ secrets.BUILD_TOKEN }}
- uses: actions/setup-go@v5
with:
go-version: '1.25'
@@ -137,7 +137,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.GITEA_TOKEN }}
token: ${{ secrets.BUILD_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: '24'
@@ -162,6 +162,6 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITEA_TOKEN }}
token: ${{ secrets.BUILD_TOKEN }}
- name: Echo release step
run: echo "Release step for Gitea"