A setup action's output used as the program is that program

Open
#585 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
67/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
github-actions, python
Domain
ci-cd, devtools

Research direction

Start with github_expressions.py:140-156 and inspect the policy where known setup action outputs are listed. Trace how step outputs become program values, then use small fixtures for the pybind11 shape and an unknown output. Done means the setup-python python-path case runs pytest while an unrecognized output remains unknown.

Written by the indexing model from the issue text.

Description

Problem

github_expressions.py:140-156 treats every steps.* value as unknown. A step that runs ${{ steps.setup-python.outputs.python-path }} -m pytest (pybind11) makes 10 gates ERROR: "its program is the expression … whose value is not known".

Expected

Known setup actions' outputs that name a program (setup-python's python-path, and the like for other setup actions) resolve to that program. The list goes in policy.

Done when

The pybind11 shape runs pytest, and an unknown output stays unknown.

Split from #478. Checked against main at 4b4dbb6c on 2026-12-03: the cases above were reproduced with small fixtures or found in the code.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt

Dominant language
Python
Stars
4
Forks
1
Avg merge
6h 31m
Merged PRs (30d)
238

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cpp-best-practices/project_validator

All issues in cpp-best-practices/project_validator

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.