Skip to content

Commit adcb9dd

Browse files
reidspencerclaude
andcommitted
Fix CI workflow: add continue-on-error for Publish Test Results
The publish-unit-test-result-action fails with 403 Forbidden on PRs because it lacks checks:write permission. This prevents the entire build from being marked as successful even when tests pass. Adding continue-on-error: true allows the actual build/test results to be reported correctly while still attempting to publish test results. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 75c317a commit adcb9dd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/scala.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ jobs:
8787
- name: Publish Test Results
8888
uses: EnricoMi/publish-unit-test-result-action@v2
8989
if: always()
90+
continue-on-error: true # Prevent workflow failure from permissions issues on PRs
9091
with:
9192
files: |
9293
**/target/test-reports/*.xml

0 commit comments

Comments
 (0)