From 4beb514232dacc245faf46457db41ada71c390db Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Fri, 5 Sep 2025 22:14:52 +0000 Subject: [PATCH] fix: allow inputs context in action defaults (#941) Resolves forgejo/runner#939 - bug fixes - [PR](https://code.forgejo.org/forgejo/runner/pulls/941): fix: allow inputs context in action defaults Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/941 Reviewed-by: Mathieu Fenniak Co-authored-by: Earl Warren Co-committed-by: Earl Warren --- act/schema/action_schema.json | 1 + act/schema/schema_test.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/act/schema/action_schema.json b/act/schema/action_schema.json index c0f7b69a..6a0eabb0 100644 --- a/act/schema/action_schema.json +++ b/act/schema/action_schema.json @@ -172,6 +172,7 @@ "context": [ "forge", "github", + "inputs", "env", "strategy", "matrix", diff --git a/act/schema/schema_test.go b/act/schema/schema_test.go index 45109b1d..dc54834e 100644 --- a/act/schema/schema_test.go +++ b/act/schema/schema_test.go @@ -197,7 +197,7 @@ inputs: default: '${{ env.GITHUB_SERVER_URL }}' repo: description: 'repo description' - default: '${{ github.repository }} ${{ vars.VARIABLE }}' + default: '${{ github.repository }} ${{ vars.VARIABLE }} ${{ inputs.VARIABLE }}' runs: using: "composite" steps: