mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-26 18:20:59 +00:00
fix: secrets can be used in jobs.*.if expressions
This commit is contained in:
parent
4b2eb56a54
commit
2a37f3f1c3
1 changed files with 8 additions and 4 deletions
|
@ -1519,7 +1519,8 @@
|
|||
"always(0,0)",
|
||||
"failure(0,MAX)",
|
||||
"cancelled(0,0)",
|
||||
"success(0,MAX)"
|
||||
"success(0,MAX)",
|
||||
"secrets"
|
||||
],
|
||||
"string": {
|
||||
"is-expression": true
|
||||
|
@ -1535,7 +1536,8 @@
|
|||
"always(0,0)",
|
||||
"failure(0,MAX)",
|
||||
"cancelled(0,0)",
|
||||
"success(0,MAX)"
|
||||
"success(0,MAX)",
|
||||
"secrets"
|
||||
],
|
||||
"one-of": ["null", "boolean", "number", "string", "sequence", "mapping"]
|
||||
},
|
||||
|
@ -1801,7 +1803,8 @@
|
|||
"failure(0,0)",
|
||||
"cancelled(0,0)",
|
||||
"success(0,0)",
|
||||
"hashFiles(1,255)"
|
||||
"hashFiles(1,255)",
|
||||
"secrets"
|
||||
],
|
||||
"description": "Use the `if` conditional to prevent a step from running unless a condition is met. Any supported context and expression can be used to create a conditional. Expressions in an `if` conditional do not require the bracketed expression syntax. When you use expressions in an `if` conditional, you may omit the expression syntax because GitHub automatically evaluates the `if` conditional as an expression.",
|
||||
"string": {
|
||||
|
@ -1824,7 +1827,8 @@
|
|||
"failure(0,0)",
|
||||
"cancelled(0,0)",
|
||||
"success(0,0)",
|
||||
"hashFiles(1,255)"
|
||||
"hashFiles(1,255)",
|
||||
"secrets"
|
||||
],
|
||||
"one-of": ["null", "boolean", "number", "string", "sequence", "mapping"]
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue