mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
fix: vars context is allowed in default values of action inputs (#786)
Resolves forgejo/runner#785 <!--start release-notes-assistant--> <!--URL:https://code.forgejo.org/forgejo/runner--> - bug fixes - [PR](https://code.forgejo.org/forgejo/runner/pulls/786): <!--number 786 --><!--line 0 --><!--description Zml4OiB2YXJzIGNvbnRleHQgaXMgYWxsb3dlZCBpbiBkZWZhdWx0IHZhbHVlcyBvZiBhY3Rpb24gaW5wdXRz-->fix: vars context is allowed in default values of action inputs<!--description--> <!--end release-notes-assistant--> Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/786 Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Co-authored-by: Earl Warren <contact@earl-warren.org> Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
parent
6b031f4780
commit
b26db065d6
2 changed files with 2 additions and 1 deletions
|
@ -177,6 +177,7 @@
|
||||||
"matrix",
|
"matrix",
|
||||||
"job",
|
"job",
|
||||||
"runner",
|
"runner",
|
||||||
|
"vars",
|
||||||
"hashFiles(1,255)"
|
"hashFiles(1,255)"
|
||||||
],
|
],
|
||||||
"string": {}
|
"string": {}
|
||||||
|
|
|
@ -140,7 +140,7 @@ inputs:
|
||||||
default: '${{ env.GITHUB_SERVER_URL }}'
|
default: '${{ env.GITHUB_SERVER_URL }}'
|
||||||
repo:
|
repo:
|
||||||
description: 'repo description'
|
description: 'repo description'
|
||||||
default: '${{ github.repository }}'
|
default: '${{ github.repository }} ${{ vars.VARIABLE }}'
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue