diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 4ca9e19d..3a3a9479 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -81,6 +81,8 @@ jobs: run: dotnet build Conductor.AI.Examples/Conductor.AI.Examples.sln -c Release integration_tests: + # Repository secrets are intentionally unavailable to pull requests from forks. + if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} needs: lint runs-on: ubuntu-latest env: @@ -107,6 +109,8 @@ jobs: -l "console;verbosity=normal" legacy_integration_tests: + # Repository secrets are intentionally unavailable to pull requests from forks. + if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} needs: lint runs-on: ubuntu-latest env: @@ -131,4 +135,3 @@ jobs: -p:DefineConstants=EXCLUDE_EXAMPLE_WORKERS --filter "Category=CloudIntegration" -l "console;verbosity=normal" - diff --git a/Tests/Client/TaskRuntimeMetadataTests.cs b/Tests/Client/TaskRuntimeMetadataTests.cs new file mode 100644 index 00000000..73f858b8 --- /dev/null +++ b/Tests/Client/TaskRuntimeMetadataTests.cs @@ -0,0 +1,54 @@ +/* + * Copyright 2025 Conductor Authors. + *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+using System.Collections.Generic;
+using Newtonsoft.Json;
+using Xunit;
+using ModelTask = Conductor.Client.Models.Task;
+
+namespace Tests.Client
+{
+ ///