From 52594e0b2a9270a7e1590e54edb27a6df85d4720 Mon Sep 17 00:00:00 2001 From: sarah <35204912+satvu@users.noreply.github.com> Date: Mon, 14 Oct 2024 10:25:23 -0700 Subject: [PATCH] add skipBuildTagsForGitHubPullRequests for extensions (#2779) --- extensions/Worker.Extensions.CosmosDB/ci/public-build.yml | 4 ++++ extensions/Worker.Extensions.EventGrid/ci/public-build.yml | 4 ++++ extensions/Worker.Extensions.EventHubs/ci/public-build.yml | 4 ++++ .../Worker.Extensions.Http.AspNetCore/ci/public-build.yml | 4 ++++ extensions/Worker.Extensions.Http/ci/public-build.yml | 4 ++++ extensions/Worker.Extensions.Kafka/ci/public-build.yml | 4 ++++ extensions/Worker.Extensions.RabbitMQ/ci/public-build.yml | 4 ++++ extensions/Worker.Extensions.Rpc/ci/public-build.yml | 4 ++++ extensions/Worker.Extensions.SendGrid/ci/public-build.yml | 4 ++++ extensions/Worker.Extensions.ServiceBus/ci/public-build.yml | 4 ++++ .../Worker.Extensions.SignalRService/ci/public-build.yml | 4 ++++ .../Worker.Extensions.Storage.Blobs/ci/public-build.yml | 4 ++++ .../Worker.Extensions.Storage.Queues/ci/public-build.yml | 4 ++++ extensions/Worker.Extensions.Storage/ci/public-build.yml | 4 ++++ extensions/Worker.Extensions.Tables/ci/public-build.yml | 4 ++++ extensions/Worker.Extensions.Timer/ci/public-build.yml | 4 ++++ extensions/Worker.Extensions.Warmup/ci/public-build.yml | 4 ++++ 17 files changed, 68 insertions(+) diff --git a/extensions/Worker.Extensions.CosmosDB/ci/public-build.yml b/extensions/Worker.Extensions.CosmosDB/ci/public-build.yml index 9eca48a6c..70c836505 100644 --- a/extensions/Worker.Extensions.CosmosDB/ci/public-build.yml +++ b/extensions/Worker.Extensions.CosmosDB/ci/public-build.yml @@ -50,6 +50,10 @@ extends: image: 1es-windows-2022 os: windows + settings: + # PR's from forks do not have sufficient permissions to set tags. + skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }} + stages: - stage: Test diff --git a/extensions/Worker.Extensions.EventGrid/ci/public-build.yml b/extensions/Worker.Extensions.EventGrid/ci/public-build.yml index 158c8a384..d95e3f1e2 100644 --- a/extensions/Worker.Extensions.EventGrid/ci/public-build.yml +++ b/extensions/Worker.Extensions.EventGrid/ci/public-build.yml @@ -50,6 +50,10 @@ extends: image: 1es-windows-2022 os: windows + settings: + # PR's from forks do not have sufficient permissions to set tags. + skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }} + stages: - stage: Test diff --git a/extensions/Worker.Extensions.EventHubs/ci/public-build.yml b/extensions/Worker.Extensions.EventHubs/ci/public-build.yml index 7694ef756..ef68d1e36 100644 --- a/extensions/Worker.Extensions.EventHubs/ci/public-build.yml +++ b/extensions/Worker.Extensions.EventHubs/ci/public-build.yml @@ -50,6 +50,10 @@ extends: image: 1es-windows-2022 os: windows + settings: + # PR's from forks do not have sufficient permissions to set tags. + skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }} + stages: - stage: Test diff --git a/extensions/Worker.Extensions.Http.AspNetCore/ci/public-build.yml b/extensions/Worker.Extensions.Http.AspNetCore/ci/public-build.yml index 3ee12526f..6e712e2aa 100644 --- a/extensions/Worker.Extensions.Http.AspNetCore/ci/public-build.yml +++ b/extensions/Worker.Extensions.Http.AspNetCore/ci/public-build.yml @@ -52,6 +52,10 @@ extends: image: 1es-windows-2022 os: windows + settings: + # PR's from forks do not have sufficient permissions to set tags. + skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }} + stages: - stage: Test diff --git a/extensions/Worker.Extensions.Http/ci/public-build.yml b/extensions/Worker.Extensions.Http/ci/public-build.yml index 2a80e02dc..58336e9f9 100644 --- a/extensions/Worker.Extensions.Http/ci/public-build.yml +++ b/extensions/Worker.Extensions.Http/ci/public-build.yml @@ -50,6 +50,10 @@ extends: image: 1es-windows-2022 os: windows + settings: + # PR's from forks do not have sufficient permissions to set tags. + skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }} + stages: - stage: Test diff --git a/extensions/Worker.Extensions.Kafka/ci/public-build.yml b/extensions/Worker.Extensions.Kafka/ci/public-build.yml index 462d2b6ef..3ddb3878c 100644 --- a/extensions/Worker.Extensions.Kafka/ci/public-build.yml +++ b/extensions/Worker.Extensions.Kafka/ci/public-build.yml @@ -50,6 +50,10 @@ extends: image: 1es-windows-2022 os: windows + settings: + # PR's from forks do not have sufficient permissions to set tags. + skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }} + stages: - stage: Test diff --git a/extensions/Worker.Extensions.RabbitMQ/ci/public-build.yml b/extensions/Worker.Extensions.RabbitMQ/ci/public-build.yml index 464cb5a6f..7232c3074 100644 --- a/extensions/Worker.Extensions.RabbitMQ/ci/public-build.yml +++ b/extensions/Worker.Extensions.RabbitMQ/ci/public-build.yml @@ -50,6 +50,10 @@ extends: image: 1es-windows-2022 os: windows + settings: + # PR's from forks do not have sufficient permissions to set tags. + skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }} + stages: - stage: Test diff --git a/extensions/Worker.Extensions.Rpc/ci/public-build.yml b/extensions/Worker.Extensions.Rpc/ci/public-build.yml index 7f660a636..84d671352 100644 --- a/extensions/Worker.Extensions.Rpc/ci/public-build.yml +++ b/extensions/Worker.Extensions.Rpc/ci/public-build.yml @@ -50,6 +50,10 @@ extends: image: 1es-windows-2022 os: windows + settings: + # PR's from forks do not have sufficient permissions to set tags. + skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }} + stages: - stage: Test diff --git a/extensions/Worker.Extensions.SendGrid/ci/public-build.yml b/extensions/Worker.Extensions.SendGrid/ci/public-build.yml index e66be115d..b47181cdb 100644 --- a/extensions/Worker.Extensions.SendGrid/ci/public-build.yml +++ b/extensions/Worker.Extensions.SendGrid/ci/public-build.yml @@ -50,6 +50,10 @@ extends: image: 1es-windows-2022 os: windows + settings: + # PR's from forks do not have sufficient permissions to set tags. + skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }} + stages: - stage: Test diff --git a/extensions/Worker.Extensions.ServiceBus/ci/public-build.yml b/extensions/Worker.Extensions.ServiceBus/ci/public-build.yml index 4c97838e2..3da6a0ad4 100644 --- a/extensions/Worker.Extensions.ServiceBus/ci/public-build.yml +++ b/extensions/Worker.Extensions.ServiceBus/ci/public-build.yml @@ -50,6 +50,10 @@ extends: image: 1es-windows-2022 os: windows + settings: + # PR's from forks do not have sufficient permissions to set tags. + skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }} + stages: - stage: Test diff --git a/extensions/Worker.Extensions.SignalRService/ci/public-build.yml b/extensions/Worker.Extensions.SignalRService/ci/public-build.yml index eee535950..50784ea6d 100644 --- a/extensions/Worker.Extensions.SignalRService/ci/public-build.yml +++ b/extensions/Worker.Extensions.SignalRService/ci/public-build.yml @@ -50,6 +50,10 @@ extends: image: 1es-windows-2022 os: windows + settings: + # PR's from forks do not have sufficient permissions to set tags. + skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }} + stages: - stage: Test diff --git a/extensions/Worker.Extensions.Storage.Blobs/ci/public-build.yml b/extensions/Worker.Extensions.Storage.Blobs/ci/public-build.yml index d145379a8..5332122d4 100644 --- a/extensions/Worker.Extensions.Storage.Blobs/ci/public-build.yml +++ b/extensions/Worker.Extensions.Storage.Blobs/ci/public-build.yml @@ -50,6 +50,10 @@ extends: image: 1es-windows-2022 os: windows + settings: + # PR's from forks do not have sufficient permissions to set tags. + skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }} + stages: - stage: Test diff --git a/extensions/Worker.Extensions.Storage.Queues/ci/public-build.yml b/extensions/Worker.Extensions.Storage.Queues/ci/public-build.yml index 240ce2d02..9d1b5adac 100644 --- a/extensions/Worker.Extensions.Storage.Queues/ci/public-build.yml +++ b/extensions/Worker.Extensions.Storage.Queues/ci/public-build.yml @@ -50,6 +50,10 @@ extends: image: 1es-windows-2022 os: windows + settings: + # PR's from forks do not have sufficient permissions to set tags. + skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }} + stages: - stage: Test diff --git a/extensions/Worker.Extensions.Storage/ci/public-build.yml b/extensions/Worker.Extensions.Storage/ci/public-build.yml index fa7094d3b..ca4c1c76b 100644 --- a/extensions/Worker.Extensions.Storage/ci/public-build.yml +++ b/extensions/Worker.Extensions.Storage/ci/public-build.yml @@ -50,6 +50,10 @@ extends: image: 1es-windows-2022 os: windows + settings: + # PR's from forks do not have sufficient permissions to set tags. + skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }} + stages: - stage: Test diff --git a/extensions/Worker.Extensions.Tables/ci/public-build.yml b/extensions/Worker.Extensions.Tables/ci/public-build.yml index ca1df0174..624f5998a 100644 --- a/extensions/Worker.Extensions.Tables/ci/public-build.yml +++ b/extensions/Worker.Extensions.Tables/ci/public-build.yml @@ -50,6 +50,10 @@ extends: image: 1es-windows-2022 os: windows + settings: + # PR's from forks do not have sufficient permissions to set tags. + skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }} + stages: - stage: Test diff --git a/extensions/Worker.Extensions.Timer/ci/public-build.yml b/extensions/Worker.Extensions.Timer/ci/public-build.yml index cbe766e59..b4176c73b 100644 --- a/extensions/Worker.Extensions.Timer/ci/public-build.yml +++ b/extensions/Worker.Extensions.Timer/ci/public-build.yml @@ -50,6 +50,10 @@ extends: image: 1es-windows-2022 os: windows + settings: + # PR's from forks do not have sufficient permissions to set tags. + skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }} + stages: - stage: Test diff --git a/extensions/Worker.Extensions.Warmup/ci/public-build.yml b/extensions/Worker.Extensions.Warmup/ci/public-build.yml index bf72c8ae0..8d0db8be9 100644 --- a/extensions/Worker.Extensions.Warmup/ci/public-build.yml +++ b/extensions/Worker.Extensions.Warmup/ci/public-build.yml @@ -50,6 +50,10 @@ extends: image: 1es-windows-2022 os: windows + settings: + # PR's from forks do not have sufficient permissions to set tags. + skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }} + stages: - stage: Test