Skip to content

Fixes #32457: Skip JavaUIIT reports for fork PRs - #32933

Merged
pmbrull merged 1 commit into
open-metadata:mainfrom
pmbrull:pmbrull/fix-java-ui-it-fork-reporting
Sep 8, 2026
Merged

pmbrull merged 1 commit into
open-metadata:mainfrom
pmbrull:pmbrull/fix-java-ui-it-fork-reporting

Conversation

@pmbrull

@pmbrull pmbrull commented Sep 8, 2026 •

Copy link
Copy Markdown
Member

Describe your changes:

Fixes #32457

Follow-up to #32919, whose search changes exposed this fork-only workflow failure.

Fork-originated pull_request workflows receive a read-only Checks permission even though the workflow requests checks: 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:

  • Bug fix

High-level design:

N/A — small workflow fix using the same condition as openmetadata-service-unit-tests.yml.

Tests:

Use cases covered

  • Fork PRs skip only the optional Checks API report publisher.
  • Trusted workflow contexts continue publishing Surefire reports.
  • Maven test failures remain authoritative for the required java-ui-it gate.

Unit tests

Not applicable — workflow-only change.

Backend integration tests

  • Not applicable (no backend API changes).

Ingestion integration tests

  • Not applicable (no ingestion changes).

Playwright (UI) tests

  • Not applicable (no UI changes).

Manual testing performed

  1. actionlint -ignore 'SC2086' .github/workflows/java-playwright-nightly.yml
  2. git diff --check
  3. make harness-check (completed with the existing repository warnings)

UI screen recording / screenshots:

Not applicable.

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>.
  • My PR is linked to a GitHub issue via Fixes #<issue-number> above.
  • I have commented on my code where the behavior is non-obvious.
  • For JSON Schema changes: not applicable.
  • For UI changes: not applicable.
  • I have run the applicable workflow validation checks and listed them above.

Fork pull_request tokens cannot create check runs. Keep Maven test results authoritative while preserving reports for trusted runs.
Copilot AI lite review requested due to automatic review settings September 8, 2026 08:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

github-actions Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR checks passed

The linked issue has a description and all required Shipping project fields set. Thanks!

@github-actions github-actions Bot added Ingestion safe to test Add this label to run secure Github workflows on PRs labels Sep 8, 2026
@gitar-bot

gitar-bot Bot commented Sep 8, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

Fixes 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.

Options

Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@pmbrull pmbrull changed the title ci: skip JavaUIIT reports for fork PRs Fixes #32457: Skip JavaUIIT reports for fork PRs Sep 8, 2026

This branch was previously deployed

1 inactive deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ingestion safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Persona AI Context is hidden in Settings and preloads every rule

3 participants