[GH-ISSUE #166] Inputs not evaluated for uses: ./path #108

Closed
opened 2026-03-01 21:40:12 +03:00 by kerem · 1 comment
Owner

Originally created by @Beanow on GitHub (Mar 19, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/166

Using the relative path references:
https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-using-action-in-the-same-repository-as-the-workflow

The inputs are not evaluated.
(No check for required, no renaming, no defaults)

Tried in this repo.
github.com/vsoch/cred-action@3ecdb0d8fb

Where the real action passes, but act -j smoke-env fails.

[Integration tests/Smoke ENV] ⭐  Run Show diff
| --- expected.txt	2020-03-19 13:46:57.782507156 +0000
| +++ actual.txt	2020-03-19 13:46:58.106500991 +0000
| @@ -11,11 +11,11 @@
|  INPUT_TARGET=docs
|  INPUT_WEIGHTS=.github/weights.json
|  INPUT_PROJECT=@sourcecred
| -INPUT_PROJECT_FILE=.github/github.json
| -INPUT_SCORES_JSON=scores.json
| +INPUT_PROJECT_FILE=
| +INPUT_SCORES_JSON=
|  INPUT_AUTOMATED=true
| -INPUT_BRANCH_AGAINST=master
| -INPUT_TEST_RUN=true
| +INPUT_BRANCH_AGAINST=
| +INPUT_TEST_RUN=
|  
|  # SourceCred known parameters
|  SOURCECRED_DIRECTORY=/data
[Integration tests/Smoke ENV]   ❌  Failure - Show diff
Originally created by @Beanow on GitHub (Mar 19, 2020). Original GitHub issue: https://github.com/nektos/act/issues/166 Using the relative path references: https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-using-action-in-the-same-repository-as-the-workflow The inputs are not evaluated. (No check for required, no renaming, no defaults) Tried in this repo. https://github.com/vsoch/cred-action/commit/3ecdb0d8fb37a8e2d4ba954a96a50ad38a676fc4 Where the real action passes, but `act -j smoke-env` fails. ``` [Integration tests/Smoke ENV] ⭐ Run Show diff | --- expected.txt 2020-03-19 13:46:57.782507156 +0000 | +++ actual.txt 2020-03-19 13:46:58.106500991 +0000 | @@ -11,11 +11,11 @@ | INPUT_TARGET=docs | INPUT_WEIGHTS=.github/weights.json | INPUT_PROJECT=@sourcecred | -INPUT_PROJECT_FILE=.github/github.json | -INPUT_SCORES_JSON=scores.json | +INPUT_PROJECT_FILE= | +INPUT_SCORES_JSON= | INPUT_AUTOMATED=true | -INPUT_BRANCH_AGAINST=master | -INPUT_TEST_RUN=true | +INPUT_BRANCH_AGAINST= | +INPUT_TEST_RUN= | | # SourceCred known parameters | SOURCECRED_DIRECTORY=/data [Integration tests/Smoke ENV] ❌ Failure - Show diff ```
Author
Owner

@cplee commented on GitHub (Apr 16, 2020):

duplicate of #185

<!-- gh-comment-id:614945379 --> @cplee commented on GitHub (Apr 16, 2020): duplicate of #185
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#108
No description provided.