Repository navigation
Fixes #32457: Skip JavaUIIT reports for fork PRs - #32933
Merged
pmbrull merged 1 commit intoSep 8, 2026
Merged
Conversation
Fork pull_request tokens cannot create check runs. Keep Maven test results authoritative while preserving reports for trusted runs.
pmbrull
requested review from
ShaileshParmar11,
chirag-madlani and
karanh37
as code owners
September 8, 2026 08:36
Contributor
✅ PR checks passedThe linked issue has a description and all required Shipping project fields set. Thanks! |
Code Review ✅ ApprovedFixes fork PR failures in JavaUIIT report publishing by applying the repository's existing fork guard to both Surefire report publishers. Fork PRs continue running and gating on Maven test steps while skipping unauthorized Checks API writes. No issues found. OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
mohityadav766
approved these changes
Sep 8, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your changes:
Fixes #32457
Follow-up to #32919, whose search changes exposed this fork-only workflow failure.
Fork-originated
pull_requestworkflows receive a read-only Checks permission even though the workflow requestschecks: write. The JavaUIIT Maven suites completed successfully, but both optional Surefire publishing steps attempted to create check runs and changed the jobs to failures.Apply the repository's existing fork guard to both JavaUIIT report publishers. Fork PRs continue to run and gate on the Maven test steps while skipping the unauthorized API write. Same-repository PRs, merge groups, and manually dispatched runs continue publishing detailed reports.
Type of change:
High-level design:
N/A — small workflow fix using the same condition as
openmetadata-service-unit-tests.yml.Tests:
Use cases covered
java-ui-itgate.Unit tests
Not applicable — workflow-only change.
Backend integration tests
Ingestion integration tests
Playwright (UI) tests
Manual testing performed
actionlint -ignore 'SC2086' .github/workflows/java-playwright-nightly.ymlgit diff --checkmake harness-check(completed with the existing repository warnings)UI screen recording / screenshots:
Not applicable.
Checklist:
Fixes <issue-number>: <short explanation>.Fixes #<issue-number>above.