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

Offen
#585 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
67/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
github-actions, python
Bereich
ci-cd, devtools

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Python
Sterne
4
Forks
1
Ø Merge
6 Std. 31 Min.
Gemergte PRs (30 T.)
238

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus cpp-best-practices/project_validator

Alle Issues in cpp-best-practices/project_validator

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.