Skip to content

Commit 2883ead

Browse files
committed
Fix allowed contexts for reusable workflow secrets/inputs
1 parent 01d7ed8 commit 2883ead

File tree

1 file changed

+2
-2
lines changed
  • content/actions/reference/workflows-and-actions

1 file changed

+2
-2
lines changed

content/actions/reference/workflows-and-actions/contexts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ The following table lists the restrictions on where each context and special fun
9898
| `jobs.<job_id>.name` | `github, needs, strategy, matrix, vars, inputs` | None |
9999
| `jobs.<job_id>.outputs.<output_id>` | `github, needs, strategy, matrix, job, runner, env, vars, secrets, steps, inputs` | None |
100100
| `jobs.<job_id>.runs-on` | `github, needs, strategy, matrix, vars, inputs` | None |
101-
| `jobs.<job_id>.secrets.<secrets_id>` | `github, needs, strategy, matrix, secrets, inputs, vars` | None |
101+
| `jobs.<job_id>.secrets.<secret_id>` | `github, needs, secrets` | None |
102102
| `jobs.<job_id>.services` | `github, needs, strategy, matrix, vars, inputs` | None |
103103
| `jobs.<job_id>.services.<service_id>.credentials` | `github, needs, strategy, matrix, env, vars, secrets, inputs` | None |
104104
| `jobs.<job_id>.services.<service_id>.env.<env_id>` | `github, needs, strategy, matrix, job, runner, env, vars, secrets, inputs` | None |
@@ -112,7 +112,7 @@ The following table lists the restrictions on where each context and special fun
112112
| `jobs.<job_id>.steps.working-directory` | `github, needs, strategy, matrix, job, runner, env, vars, secrets, steps, inputs` | `hashFiles` |
113113
| `jobs.<job_id>.strategy` | `github, needs, vars, inputs` | None |
114114
| `jobs.<job_id>.timeout-minutes` | `github, needs, strategy, matrix, vars, inputs` | None |
115-
| `jobs.<job_id>.with.<with_id>` | `github, needs, strategy, matrix, inputs, vars` | None |
115+
| `jobs.<job_id>.with.<input_id>` | `github, needs` | None |
116116
| `on.workflow_call.inputs.<inputs_id>.default` | `github, inputs, vars` | None |
117117
| `on.workflow_call.outputs.<output_id>.value` | `github, jobs, vars, inputs` | None |
118118

0 commit comments

Comments
 (0)