Skip to content

Merge branch 'develop' into copilot/check-empty-publish-diagnostics #10160

Merge branch 'develop' into copilot/check-empty-publish-diagnostics

Merge branch 'develop' into copilot/check-empty-publish-diagnostics #10160

Workflow file for this run

name: javadoc
on:
push:
branches-ignore:
- "translations_*"
pull_request:
jobs:
gatekeeper:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' && startsWith(github.head_ref, 'translations_') == false || github.event_name == 'push'
steps:
- run: echo 'Open the Golden Gate'
check-pr-exists:
runs-on: ubuntu-latest
outputs:
has_pr: ${{ steps.check.outputs.has_pr }}
steps:
- uses: actions/checkout@v6
- name: Check if PR exists for this branch
id: check
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
result=$(.github/scripts/check-pr-exists.sh "${{ github.event_name }}" "${{ github.ref_name }}" "${{ github.repository }}")
echo "has_pr=$result" >> $GITHUB_OUTPUT
build:
needs: [gatekeeper, check-pr-exists]
if: needs.gatekeeper.result == 'success' && needs.check-pr-exists.outputs.has_pr != 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 25
distribution: 'corretto'
cache: gradle
- name: Check javadoc build
run: ./gradlew javadoc --stacktrace