You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/content/docs/examples/project-tracking.md
+7-59Lines changed: 7 additions & 59 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ sidebar:
5
5
badge: { text: 'Project', variant: 'tip' }
6
6
---
7
7
8
-
The`update-project` and `create-project-status-update` safe-output tools enable automatic tracking of workflow-created items in GitHub Projects boards. Configure these tools in the `safe-outputs` section of your workflow frontmatter to enable project management capabilities including item addition, field updates, and status reporting.
8
+
Use`update-project` and `create-project-status-update` safe-outputs to automatically track workflow items in GitHub Projects boards, with support for field updates and status reporting.
@@ -200,8 +176,6 @@ Update the project item with the assigned priority.
200
176
201
177
### Field-Based Routing
202
178
203
-
Use custom fields for workflow routing:
204
-
205
179
```aw
206
180
Determine the team that should handle this issue:
207
181
- Security-related → team="Security"
@@ -214,41 +188,15 @@ Update the project item with the team field.
214
188
215
189
## Troubleshooting
216
190
217
-
### Items Not Added to Project
218
-
219
-
**Symptoms**: Workflow runs successfully but items don't appear in project board
220
-
221
-
**Solutions**:
222
-
- Verify project URL is correct (check browser address bar)
223
-
- Confirm token has Projects: Read & Write permissions
224
-
- Check that organization allows Projects access for the token
225
-
- Review workflow logs for safe_outputs job errors
226
-
227
-
### Permission Errors
228
-
229
-
**Symptoms**: Workflow fails with "Resource not accessible" or "Insufficient permissions"
230
-
231
-
**Solutions**:
232
-
- For organization projects: Use fine-grained PAT with organization Projects permission
233
-
- For user projects: Use classic PAT with `project` scope
234
-
- Ensure token is stored in correct secret name
235
-
- Verify repository settings allow Actions to access secrets
236
-
237
-
### Token Not Resolved
238
-
239
-
**Symptoms**: Workflow fails with "invalid token" or token appears as literal string
240
-
241
-
**Solutions**:
242
-
- Use GitHub expression syntax: `${{ secrets.GH_AW_PROJECT_GITHUB_TOKEN }}`
243
-
- Don't quote the expression in YAML
244
-
- Ensure secret name matches exactly (case-sensitive)
245
-
- Check secret is set at repository or organization level
191
+
| Issue | Symptom | Solution |
192
+
|-------|---------|----------|
193
+
| Items not added | Items don't appear despite a successful run | Verify project URL, confirm token has Projects: Read & Write permission, review `safe_outputs` job logs |
194
+
| Permission errors | "Resource not accessible" or "Insufficient permissions" | Use fine-grained PAT with org Projects permission, or classic PAT with `project` scope; verify secret name and repository settings |
195
+
| Token not resolved | "invalid token" or literal `${{...}}` string in output | Use `${{ secrets.GH_AW_PROJECT_GITHUB_TOKEN }}` syntax without quotes; check secret name is exact (case-sensitive) |
0 commit comments