From 542a175fd11d446edce9b63a2e7df07ed10a73cf Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov <1517853+kpavlov@users.noreply.github.com> Date: Fri, 5 Dec 2025 19:24:15 +0200 Subject: [PATCH] Update GitHub Actions workflow - Rename `validate-pr` job to `build` - Update `comment` and `updateComment` parameters to be false on forks --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e05c06aa..b2664ff3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,9 +17,9 @@ permissions: pull-requests: write # only required if `comment: true` was enabled jobs: - validate-pr: + build: runs-on: macos-latest-xlarge - name: Validate PR + name: Build timeout-minutes: 20 env: JAVA_OPTS: "-Xmx8g -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Dkotlin.daemon.jvm.options=-Xmx6g" @@ -75,7 +75,7 @@ jobs: if: ${{ !cancelled() }} # always run even if the previous step fails with: annotate_only: true - comment: true + comment: ${{ github.repository == 'modelcontextprotocol/kotlin-sdk' }} detailed_summary: true flaky_summary: true group_suite: true @@ -83,7 +83,7 @@ jobs: include_time_in_summary: true report_paths: '**/test-results/**/TEST-*.xml' truncate_stack_traces: false - updateComment: true + updateComment: ${{ github.repository == 'modelcontextprotocol/kotlin-sdk' }} - name: Disable Auto-Merge on Fail if: failure() && github.event_name == 'pull_request'