From 94704357048ac46afe754657fc04afe92a2db1ba Mon Sep 17 00:00:00 2001 From: datadunia Date: Wed, 10 Jun 2026 09:21:50 +0700 Subject: [PATCH] ci: add secrets: inherit to build workflow calls Reusable workflows dont inherit secrets from caller by default. secrets.BUILD_TOKEN was empty string, causing: ::error::Input required and not supplied: token Added secrets: inherit to all 4 build workflow calls in ci.yml. --- .gitea/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c98686f..8edc0a9 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -70,24 +70,28 @@ jobs: needs: [server-core-test, device-agent-test, dashboard-test] runs-on: ubuntu-latest uses: ./.gitea/workflows/build_server_core.yaml + secrets: inherit build-device-agent: if: "!contains(gitea.ref_name, 'test')" needs: [server-core-test, device-agent-test, dashboard-test] runs-on: ubuntu-latest uses: ./.gitea/workflows/build_device_agent.yaml + secrets: inherit build-dashboard: if: "!contains(gitea.ref_name, 'test')" needs: [server-core-test, device-agent-test, dashboard-test] runs-on: ubuntu-latest uses: ./.gitea/workflows/build_dashboard.yaml + secrets: inherit build-docs: if: "!contains(gitea.ref_name, 'test')" needs: [server-core-test, device-agent-test, dashboard-test] runs-on: ubuntu-latest uses: ./.gitea/workflows/docs_call.yaml + secrets: inherit release: if: "!contains(gitea.ref_name, 'test')"