From 8be64111a1d8724eacbb1357f2ce87e552421d49 Mon Sep 17 00:00:00 2001 From: datadunia Date: Fri, 29 May 2026 20:29:12 +0700 Subject: [PATCH] ci: add GITEA_TOKEN for checkout authentication --- .gitea/workflows/ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index fa977ef..802437c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -6,6 +6,9 @@ on: - 'v*' - 'dev-*' +env: + GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} + jobs: # ────────────────────────────────────────────── # TEST — all 3 components in parallel @@ -20,6 +23,7 @@ jobs: with: submodules: true fetch-depth: 0 + token: ${{ secrets.GITEA_TOKEN }} - uses: actions/setup-go@v5 with: go-version: '1.25' @@ -36,6 +40,7 @@ jobs: with: submodules: true fetch-depth: 0 + token: ${{ secrets.GITEA_TOKEN }} - uses: actions/setup-go@v5 with: go-version: '1.25' @@ -52,6 +57,7 @@ jobs: with: submodules: true fetch-depth: 0 + token: ${{ secrets.GITEA_TOKEN }} - uses: actions/setup-node@v4 with: node-version: '24' @@ -73,6 +79,7 @@ jobs: - uses: actions/checkout@v4 with: submodules: true + token: ${{ secrets.GITEA_TOKEN }} - uses: actions/setup-go@v5 with: go-version: '1.25' @@ -101,6 +108,7 @@ jobs: - uses: actions/checkout@v4 with: submodules: true + token: ${{ secrets.GITEA_TOKEN }} - uses: actions/setup-go@v5 with: go-version: '1.25' @@ -129,6 +137,7 @@ jobs: - uses: actions/checkout@v4 with: submodules: true + token: ${{ secrets.GITEA_TOKEN }} - uses: actions/setup-node@v4 with: node-version: '24' @@ -153,5 +162,6 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + token: ${{ secrets.GITEA_TOKEN }} - name: Echo release step - run: echo "Release step for Gitea" \ No newline at end of file + run: echo "Release step for Gitea"