Replies: 1 comment
|
I think this would be a useful enhancement, particularly for reusable workflows and matrix-based CI configurations. Currently, requiring a static value in the The proposed A few considerations:
This would improve workflow flexibility without unnecessarily weakening the existing security model. I'd support exploring this enhancement. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
💬 Feature/Topic Area
Workflow Configuration
Discussion Details
If a larger set of similar actions is available, see for example vmactions, it would be useful to pass the action to use via a variable, for example:
The above fails with "Unrecognized named-value: 'matrix'". This restriction is possibly intentional for security reasons.
The following enhancement would keep the ability to do security checks: allow variables but check the expanded value against a newly added list of permitted actions. This list must not allow variable expansion. For example:
If
permitted-actionsis missing, fall back to current behavior.All reactions