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
13 changes: 3 additions & 10 deletions .github/workflows/dependabot-burner.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions .github/workflows/test-project-url-default.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion docs/src/content/docs/reference/frontmatter.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,12 @@ network:
Automatically enables project board management operations for tracking workflow-created items. See [Project Tracking](/gh-aw/examples/project-tracking/) for complete documentation.

```yaml wrap
# Simple format - just the URL
# Simple format - just the URL (quotes optional)
project: https://github.com/orgs/github/projects/123

# With placeholder values (quotes recommended for angle brackets)
project: "https://github.com/orgs/<ORG>/projects/<NUMBER>"

# Full configuration with custom settings
project:
url: https://github.com/orgs/github/projects/123
Expand All @@ -258,6 +261,9 @@ project:
github-token: ${{ secrets.GH_AW_PROJECT_GITHUB_TOKEN }}
```

> [!NOTE]
> Quotes are optional for plain URLs but recommended when using placeholder values with angle brackets (`<ORG>`, `<NUMBER>`) to ensure proper YAML parsing.

When configured, automatically enables:
- **update-project** - Add items to projects, update fields (status, priority, etc.)
- **create-project-status-update** - Post status updates to project boards
Expand Down
8 changes: 4 additions & 4 deletions pkg/parser/schemas/main_workflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3657,8 +3657,8 @@
{
"type": "string",
"description": "GitHub Project URL for tracking workflow-created items. When configured, automatically enables project tracking operations (update-project, create-project-status-update) to manage project boards similar to campaign orchestrators.",
"pattern": "^https://github\\.com/(users|orgs)/[^/]+/projects/\\d+$",
"examples": ["https://github.com/orgs/github/projects/123", "https://github.com/users/username/projects/456"]
"pattern": "^https://github\\.com/(users|orgs)/([^/]+|<[A-Z_]+>)/projects/(\\d+|<[A-Z_]+>)$",
"examples": ["https://github.com/orgs/github/projects/123", "https://github.com/users/username/projects/456", "https://github.com/orgs/<ORG>/projects/<NUMBER>"]
},
{
"type": "object",
Expand All @@ -3669,8 +3669,8 @@
"url": {
"type": "string",
"description": "GitHub Project URL (required). Must be a valid GitHub Projects V2 URL.",
"pattern": "^https://github\\.com/(users|orgs)/[^/]+/projects/\\d+$",
"examples": ["https://github.com/orgs/github/projects/123", "https://github.com/users/username/projects/456"]
"pattern": "^https://github\\.com/(users|orgs)/([^/]+|<[A-Z_]+>)/projects/(\\d+|<[A-Z_]+>)$",
"examples": ["https://github.com/orgs/github/projects/123", "https://github.com/users/username/projects/456", "https://github.com/orgs/<ORG>/projects/<NUMBER>"]
},
"max-updates": {
"type": "integer",
Expand Down
Loading