From 02035b770c0568addf58aa7c56b18493f67a4327 Mon Sep 17 00:00:00 2001 From: Kevin Brown Date: Mon, 22 Dec 2025 03:13:06 +0300 Subject: [PATCH] Explicitly map action inputs to corresponding INPUT_* env vars for cron and deployment workflows --- .../action.yml | 12 ++++++++++++ .github/actions/keep-alive/action.yml | 3 +++ 2 files changed, 15 insertions(+) diff --git a/.github/actions/check-prerequisites-and-locate-build-artifact/action.yml b/.github/actions/check-prerequisites-and-locate-build-artifact/action.yml index 382b736a4..edf3074e8 100644 --- a/.github/actions/check-prerequisites-and-locate-build-artifact/action.yml +++ b/.github/actions/check-prerequisites-and-locate-build-artifact/action.yml @@ -58,3 +58,15 @@ runs: working-directory: ${{ github.action_path }} run: python3 src/main.py shell: bash + env: + INPUT_GITHUB_TOKEN: ${{ inputs.github-token }} + INPUT_SHA: ${{ inputs.sha }} + INPUT_TRIGGER_EVENT: ${{ inputs.trigger-event }} + INPUT_HEAD_BRANCH: ${{ inputs.head-branch }} + INPUT_IS_FORK: ${{ inputs.is-fork }} + INPUT_SKIP_HOTFIX: ${{ inputs.skip-hotfix }} + INPUT_SKIP_FORKS: ${{ inputs.skip-forks }} + INPUT_REQUIRE_TRIGGER_EVENT: ${{ inputs.require-trigger-event }} + INPUT_BUILD_WORKFLOW_FILE: ${{ inputs.build-workflow-file }} + INPUT_ARTIFACT_NAME: ${{ inputs.artifact-name }} + INPUT_REQUIRED_WORKFLOWS_JSON: ${{ inputs.required-workflows-json }} diff --git a/.github/actions/keep-alive/action.yml b/.github/actions/keep-alive/action.yml index 8c622242c..aae2f5c7a 100644 --- a/.github/actions/keep-alive/action.yml +++ b/.github/actions/keep-alive/action.yml @@ -18,3 +18,6 @@ runs: working-directory: ${{ github.action_path }} run: python3 src/main.py shell: bash + env: + ASTRO_DB_REMOTE_URL: ${{ inputs.astro-db-remote-url }} + ASTRO_DB_APP_TOKEN: ${{ inputs.astro-db-app-token }}