Skip to content

Fix CLI exec with workflow matrix feature, where variables are not substituted.#6162

Draft
6543 wants to merge 1 commit intowoodpecker-ci:mainfrom
6543-forks:saces/cli-matrix
Draft

Fix CLI exec with workflow matrix feature, where variables are not substituted.#6162
6543 wants to merge 1 commit intowoodpecker-ci:mainfrom
6543-forks:saces/cli-matrix

Conversation

@6543
Copy link
Member

@6543 6543 commented Feb 26, 2026

woodpecker-cli exec workflow-with-matrix.yaml is broken, variables are not substituted.

this sets m.Workflow at the end resets the previous set axis data

setting m.Workflow at the end resets the previous set axis data
@6543 6543 added bug Something isn't working cli labels Feb 26, 2026
@6543
Copy link
Member Author

6543 commented Feb 26, 2026

@woodpecker-bot
Copy link
Contributor

woodpecker-bot commented Feb 26, 2026

Surge PR preview deployment succeeded. View it at https://woodpecker-ci-woodpecker-pr-6162.surge.sh

@codecov
Copy link

codecov bot commented Feb 26, 2026

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 31.98%. Comparing base (05f55fb) to head (987a79b).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
cli/exec/metadata.go 0.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6162   +/-   ##
=======================================
  Coverage   31.98%   31.98%           
=======================================
  Files         423      423           
  Lines       28568    28568           
=======================================
  Hits         9138     9138           
  Misses      18587    18587           
  Partials      843      843           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working cli

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants