Skip to content

Commit 7cf52a3

Browse files
committed
tweak docs
1 parent b15fbb2 commit 7cf52a3

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

docs/src/content/docs/reference/templating.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,16 +85,14 @@ The following GitHub Actions context expressions are permitted in the markdown c
8585
- `${{ steps.* }}` - Any outputs from previous steps in the same job
8686
- `${{ github.event.inputs.* }}` - Any workflow inputs when triggered by workflow_dispatch (e.g., `${{ github.event.inputs.name }}`)
8787

88-
## Prohibited Expressions
88+
### Prohibited Expressions
8989

9090
All other expressions are disallowed, including:
9191
- `${{ secrets.* }}` - All secrets
9292
- `${{ env.* }}` - All environment variables
9393
- `${{ vars.* }}` - All repository variables
9494
- Complex functions like `${{ toJson(...) }}`, `${{ fromJson(...) }}`, etc.
9595

96-
## Validation
97-
9896
Expression safety is validated during compilation with `gh aw compile`. If unauthorized expressions are found, you'll see an error like:
9997

10098
```

0 commit comments

Comments
 (0)