Skip to content

Commit df57738

Browse files
authored
Merge pull request #517 from webstackdev/hotfix/cron-and-deploy-workflow-fixes
Explicitly map action inputs to corresponding INPUT_* env vars for cr…
2 parents 32b398b + 02035b7 commit df57738

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

.github/actions/check-prerequisites-and-locate-build-artifact/action.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,15 @@ runs:
5858
working-directory: ${{ github.action_path }}
5959
run: python3 src/main.py
6060
shell: bash
61+
env:
62+
INPUT_GITHUB_TOKEN: ${{ inputs.github-token }}
63+
INPUT_SHA: ${{ inputs.sha }}
64+
INPUT_TRIGGER_EVENT: ${{ inputs.trigger-event }}
65+
INPUT_HEAD_BRANCH: ${{ inputs.head-branch }}
66+
INPUT_IS_FORK: ${{ inputs.is-fork }}
67+
INPUT_SKIP_HOTFIX: ${{ inputs.skip-hotfix }}
68+
INPUT_SKIP_FORKS: ${{ inputs.skip-forks }}
69+
INPUT_REQUIRE_TRIGGER_EVENT: ${{ inputs.require-trigger-event }}
70+
INPUT_BUILD_WORKFLOW_FILE: ${{ inputs.build-workflow-file }}
71+
INPUT_ARTIFACT_NAME: ${{ inputs.artifact-name }}
72+
INPUT_REQUIRED_WORKFLOWS_JSON: ${{ inputs.required-workflows-json }}

.github/actions/keep-alive/action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ runs:
1818
working-directory: ${{ github.action_path }}
1919
run: python3 src/main.py
2020
shell: bash
21+
env:
22+
ASTRO_DB_REMOTE_URL: ${{ inputs.astro-db-remote-url }}
23+
ASTRO_DB_APP_TOKEN: ${{ inputs.astro-db-app-token }}

0 commit comments

Comments
 (0)