Commit b97c32d
fix(ci): Fix GitHub Actions workflow timeout and permissions issues
Root cause analysis:
1. Jobs exceeded 6-hour timeout due to recursive test execution
2. test-reporter action lacked necessary permissions
Fixes applied:
✅ Add reasonable timeout-minutes to all jobs (10-30 minutes)
✅ Add permissions block (contents:read, checks:write, pull-requests:write)
✅ Exclude Demo projects from test execution with filter
✅ Add timeout to test step specifically (10 minutes)
Changes:
- build job: 30-minute timeout + permissions
- test step: 10-minute timeout + filter out Demo projects
- code-quality job: 15-minute timeout
- package job: 15-minute timeout
- publish-demo job: 15-minute timeout
The filter 'FullyQualifiedName!~Demo' prevents:
- TestingServiceDemo from running real tests during CI
- RealTestExecutionDemo from executing actual dotnet test commands
- Recursive/circular test execution scenarios
This ensures CI completes in reasonable time while still running
all actual unit and integration tests.
🤖 Generated with Claude Code (https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent e7d6c59 commit b97c32d
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
| |||
42 | 47 | | |
43 | 48 | | |
44 | 49 | | |
45 | | - | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
| |||
62 | 68 | | |
63 | 69 | | |
64 | 70 | | |
| 71 | + | |
65 | 72 | | |
66 | 73 | | |
67 | 74 | | |
| |||
86 | 93 | | |
87 | 94 | | |
88 | 95 | | |
| 96 | + | |
89 | 97 | | |
90 | 98 | | |
91 | 99 | | |
| |||
119 | 127 | | |
120 | 128 | | |
121 | 129 | | |
| 130 | + | |
122 | 131 | | |
123 | 132 | | |
124 | 133 | | |
| |||
0 commit comments