From 3b5cec80afaeb42dfa42c641bb8e1e9795b6db6f Mon Sep 17 00:00:00 2001 From: datadunia Date: Fri, 29 May 2026 20:42:13 +0700 Subject: [PATCH] ci: add GITEA_TOKEN for checkout authentication --- .gitea/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 8b92444..3835afc 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -24,6 +24,8 @@ jobs: submodules: true fetch-depth: 0 token: ${{ secrets.BUILD_TOKEN }} + # Tambahkan ini jika menggunakan self-hosted Gitea runner: + persist-credentials: true - uses: actions/setup-go@v5 with: go-version: '1.25' @@ -41,6 +43,8 @@ jobs: submodules: true fetch-depth: 0 token: ${{ secrets.BUILD_TOKEN }} + # Tambahkan ini jika menggunakan self-hosted Gitea runner: + persist-credentials: true - uses: actions/setup-go@v5 with: go-version: '1.25' @@ -58,6 +62,8 @@ jobs: submodules: true fetch-depth: 0 token: ${{ secrets.BUILD_TOKEN }} + # Tambahkan ini jika menggunakan self-hosted Gitea runner: + persist-credentials: true - uses: actions/setup-node@v4 with: node-version: '24' @@ -80,6 +86,8 @@ jobs: with: submodules: true token: ${{ secrets.BUILD_TOKEN }} + # Tambahkan ini jika menggunakan self-hosted Gitea runner: + persist-credentials: true - uses: actions/setup-go@v5 with: go-version: '1.25' @@ -109,6 +117,8 @@ jobs: with: submodules: true token: ${{ secrets.BUILD_TOKEN }} + # Tambahkan ini jika menggunakan self-hosted Gitea runner: + persist-credentials: true - uses: actions/setup-go@v5 with: go-version: '1.25'