1
0
Fork 0
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:
Earl Warren 2025-08-02 06:38:42 +00:00 committed by earl-warren
parent 6b031f4780
commit b26db065d6
No known key found for this signature in database
GPG key ID: F128CBE6AB3A7201
2 changed files with 2 additions and 1 deletions

View file

@ -177,6 +177,7 @@
"matrix", "matrix",
"job", "job",
"runner", "runner",
"vars",
"hashFiles(1,255)" "hashFiles(1,255)"
], ],
"string": {} "string": {}

View file

@ -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: