fix(step-names): rename "Setup Python runtime" → "Setup Python" in daily-ambient-context-optimizer#37164
Merged
Merged
Conversation
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix residual step name inconsistency in workflow
fix(step-names): rename "Setup Python runtime" → "Setup Python" in daily-ambient-context-optimizer
Jun 5, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates GitHub Actions workflow metadata in .github/workflows/, primarily to align the actions/setup-python step name with the repo’s Setup <runtime> convention. In the current diff, there are also widespread lockfile-only updates that add threat-detection token usage parsing outputs/env wiring across many compiled workflows, which is substantially broader than the PR title/description suggests.
Changes:
- Renames the
actions/setup-pythonstep indaily-ambient-context-optimizerfrom “Setup Python runtime” to “Setup Python” (source workflow). - Updates compiled workflow lockfiles to add an
aicoutput derived from a newparse_detection_token_usagestep and plumbs related env vars (e.g.,GH_AW_THREAT_DETECTION_AIC,GH_AW_AGENT_AIC) across many workflows. - Recompiles numerous
.lock.ymlworkflows, causing large-scale generated diffs beyond the single step-name rename.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/daily-ambient-context-optimizer.md | Renames actions/setup-python step name to “Setup Python”. |
| .github/workflows/workflow-skill-extractor.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/workflow-normalizer.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/workflow-health-manager.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/workflow-generator.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/weekly-issue-summary.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/visual-regression-checker.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/video-analyzer.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/update-astro.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/ubuntu-image-analyzer.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/typist.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/tidy.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/test-workflow.lock.yml | Adds GH_AW_AGENT_AIC env wiring in compiled workflow. |
| .github/workflows/test-project-url-default.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/test-dispatcher.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/terminal-stylist.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/super-linter.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/step-name-alignment.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/static-analysis-report.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/spec-extractor.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/spec-enforcer.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/smoke-ci.lock.yml | Adds GH_AW_AGENT_AIC env wiring in compiled workflow. |
| .github/workflows/sergo.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/semantic-function-refactor.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/security-compliance.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/schema-consistency-checker.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/safe-output-health.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/research.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/repository-quality-improver.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/repo-tree-map.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/release.lock.yml | Adds GH_AW_AGENT_AIC env wiring in compiled workflow. |
| .github/workflows/python-data-charts.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/prompt-clustering-analysis.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/plan.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/otlp-data-quality-validator.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/org-health-report.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/notion-issue-summary.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/metrics-collector.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/mergefest.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/mcp-inspector.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/lockfile-stats.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/linter-miner.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/lint-monster.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/layout-spec-maintainer.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/jsweep.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/issue-triage-agent.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/instructions-janitor.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/hourly-ci-cleaner.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/hippo-embed.lock.yml | Adds GH_AW_AGENT_AIC env wiring in compiled workflow. |
| .github/workflows/gpclean.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/go-pattern-detector.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/go-logger.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/go-fan.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/glossary-maintainer.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/github-mcp-tools-report.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/firewall.lock.yml | Adds GH_AW_AGENT_AIC env wiring in compiled workflow. |
| .github/workflows/firewall-escape.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/example-workflow-analyzer.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/example-permissions-warning.lock.yml | Adds GH_AW_AGENT_AIC env wiring in compiled workflow. |
| .github/workflows/docs-noob-tester.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/dictation-prompt.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/designer-drift-audit.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/deployment-incident-monitor.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/dependabot-worker.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/dependabot-repair.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/dependabot-go-checker.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/dependabot-campaign.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/dependabot-burner.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/deep-report.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/dead-code-remover.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-token-consumption-report.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-team-status.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-syntax-error-quality.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-skill-optimizer.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-sentrux-report.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-semgrep-scan.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-security-red-team.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-security-observability.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-secrets-analysis.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-safe-output-optimizer.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-reliability-review.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-regulatory.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-performance-summary.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-news.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-model-inventory.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-malicious-code-scan.lock.yml | Adds GH_AW_AGENT_AIC env wiring in compiled workflow. |
| .github/workflows/daily-issues-report.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-geo-optimizer.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-function-namer.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-firewall-report.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-file-diet.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-experiment-report.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-doc-updater.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-doc-healer.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-compiler-quality.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-community-attribution.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-code-metrics.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-cli-performance.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/daily-choice-test.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/copilot-session-insights.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/copilot-opt.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/copilot-agent-analysis.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/contribution-check.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/constraint-solving-potd.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/commit-changes-analyzer.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/codex-github-remote-mcp-test.lock.yml | Adds GH_AW_AGENT_AIC env wiring in compiled workflow. |
| .github/workflows/code-simplifier.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/code-scanning-fixer.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/cli-version-checker.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/cli-consistency-checker.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/ci-coach.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/changeset.lock.yml | Adds GH_AW_AGENT_AIC env wiring in compiled workflow. |
| .github/workflows/bot-detection.lock.yml | Adds GH_AW_AGENT_AIC env wiring in compiled workflow. |
| .github/workflows/blog-auditor.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/aw-failure-investigator.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/avenger.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/audit-workflows.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/artifacts-summary.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/api-consumption-report.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/ai-moderator.lock.yml | Adds GH_AW_AGENT_AIC env wiring in compiled workflow. |
| .github/workflows/agentic-token-optimizer.lock.yml | Adds GH_AW_AGENT_AIC env wiring in compiled workflow. |
| .github/workflows/agent-persona-explorer.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/agent-performance-analyzer.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
| .github/workflows/ace-editor.lock.yml | Adds GH_AW_AGENT_AIC env wiring in compiled workflow. |
| .github/workflows/ab-testing-advisor.lock.yml | Adds threat-detection token usage parsing step/output/env wiring in compiled workflow. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 241/241 changed files
- Comments generated: 2
Comment on lines
+1427
to
+1434
| - name: Parse threat detection token usage for step summary | ||
| id: parse_detection_token_usage | ||
| if: always() | ||
| continue-on-error: true | ||
| uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 | ||
| env: | ||
| GH_AW_TOKEN_USAGE_SUMMARY_TITLE: Threat Detection Token Usage | ||
| with: |
Comment on lines
+35
to
36
| - name: Setup Python | ||
| uses: actions/setup-python@v6.2.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Residual naming inconsistency from the
actions/setup-pythonstandardization in #36578:daily-ambient-context-optimizerstill usedSetup Python runtimeinstead of the canonicalSetup Python, breaking theSetup <runtime>convention used by all other runtime-setup steps (Setup Node.js,Setup Go,Setup Java,Setup Docker Buildx).Changes
.github/workflows/daily-ambient-context-optimizer.md— renamed stepSetup Python runtime→Setup Python.github/workflows/daily-ambient-context-optimizer.lock.yml— same rename in the compiled outputNo
Setup Python runtimeoccurrences remain in the repository.