Skip to content

Commit 27cea89

Browse files
committed
fix(action): remove ${{ github.action_path }} literal from input description
GitHub Actions' template parser evaluates expressions inside input `description` blocks and rejects the `github` context there (only `inputs`, `env`, etc. are allowed in input metadata). The literal `${{ github.action_path }}` in the version input's description tripped: 'Unrecognized named-value: github' and bricked the entire action-selftest workflow with 'Failed to load action.yml'. Reworded the description to refer to the install path in plain prose; the actual `pip install -e "${{ github.action_path }}"` call in the runs.steps block (where it IS allowed) is unchanged.
1 parent 728aee6 commit 27cea89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ inputs:
3232
Empty (default) - `pip install pwned-deps` (latest from PyPI).
3333
"1.2.3" - `pip install pwned-deps==1.2.3` (pinned).
3434
"from-source" - install the action's own checkout via
35-
`pip install -e ${{ github.action_path }}`.
35+
pip install -e <action checkout path>.
3636
Used by this repo's action self-test before
3737
first PyPI publish, and by forks doing local
3838
development against an unreleased revision.

0 commit comments

Comments
 (0)