Skip to content

Commit

Permalink
define ACTIONS_STEP_DEBUG and ACTIONS_RUNNER_DEBUG as preset secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Apr 7, 2022
1 parent f48ba7f commit c9a0bb1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion expr_sema.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,11 @@ func (sema *ExprSemanticsChecker) UpdateSecrets(ty *ObjectType) {
sema.ensureVarsCopied()

// Merges automatically supplied secrets with manually defined secrets.
// ACTIONS_STEP_DEBUG and ACTIONS_RUNNER_DEBUG seem supplied from caller of the workflow (#130)
copied := NewStrictObjectType(map[string]ExprType{
"github_token": StringType{},
"github_token": StringType{},
"actions_step_debug": StringType{},
"actions_runner_debug": StringType{},
})
for n, v := range ty.Props {
copied.Props[n] = v
Expand Down

0 comments on commit c9a0bb1

Please sign in to comment.