Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/workflow-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ The following GitHub Actions context expressions are permitted in workflow markd
- `${{ github.repository }}` - The owner and repository name (e.g., `octocat/Hello-World`)
- `${{ github.run_id }}` - A unique number for each workflow run within a repository
- `${{ github.run_number }}` - A unique number for each run of a particular workflow in a repository
- `${{ github.server_url }}` - Base URL of the server, e.g. https://github.com
- `${{ github.workflow }}` - The name of the workflow

#### Special Pattern Expressions
Expand Down
1 change: 1 addition & 0 deletions pkg/cli/templates/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ Use GitHub Actions context expressions throughout the workflow content. **Note:
- **`${{ github.repository }}`** - Repository name in "owner/name" format
- **`${{ github.run_id }}`** - Unique ID of the workflow run
- **`${{ github.run_number }}`** - Number of the workflow run
- **`${{ github.server_url }}`** - Base URL of the server, e.g. https://github.com
- **`${{ github.workflow }}`** - Name of the workflow

#### Special Pattern Expressions
Expand Down
1 change: 1 addition & 0 deletions pkg/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ var AllowedExpressions = []string{
"github.repository",
"github.run_id",
"github.run_number",
"github.server_url",
"github.workflow",
} // needs., steps. already allowed