mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-08 00:00:28 +00:00
Parse secret inputs in reusable workflows (#41)
Secrets can be passed to reusable workflows, either explicitly by key or implicitly by `inherit`: https://docs.github.com/en/actions/using-workflows/reusing-workflows#using-inputs-and-secrets-in-a-reusable-workflow Reviewed-on: https://gitea.com/gitea/act/pulls/41 Reviewed-by: Jason Song <[email protected]> Co-authored-by: Galen Abell <[email protected]> Co-committed-by: Galen Abell <[email protected]>
This commit is contained in:
1 parent
ac1ba34518
commit
9bdddf18e0
4 files changed
+37
No files matched your search
@@ -37,6 +37,11 @@ func TestParse(t *testing.T) {
|
||||
options: nil,
|
||||
wantErr: false,
|
||||
},
|
||||
{
|
||||
name: "has_secrets",
|
||||
options: nil,
|
||||
wantErr: false,
|
||||
},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user