From 084aa883a28f172e0e2e457946b404ed726976f5 Mon Sep 17 00:00:00 2001 From: Prudhvi Godithi Date: Fri, 23 Jun 2023 12:36:41 -0700 Subject: [PATCH] Label creation automation, add logic for more than 100 labels Signed-off-by: Prudhvi Godithi --- .github/workflows/os-increment-plugin-versions.yml | 2 +- .github/workflows/osd-increment-plugin-versions.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/os-increment-plugin-versions.yml b/.github/workflows/os-increment-plugin-versions.yml index 207aa41599..42542fdcfd 100644 --- a/.github/workflows/os-increment-plugin-versions.yml +++ b/.github/workflows/os-increment-plugin-versions.yml @@ -105,7 +105,7 @@ jobs: const randomColor = Math.floor(Math.random() * 16777215).toString(16); const newLabel = { owner: context.repo.owner, - repo: context.repo.repo, + repo: "${{ matrix.entry.repo }}", name: labelName, color: randomColor, description: labelName diff --git a/.github/workflows/osd-increment-plugin-versions.yml b/.github/workflows/osd-increment-plugin-versions.yml index 6b73424e3b..d7bf023357 100644 --- a/.github/workflows/osd-increment-plugin-versions.yml +++ b/.github/workflows/osd-increment-plugin-versions.yml @@ -122,7 +122,7 @@ jobs: const randomColor = Math.floor(Math.random() * 16777215).toString(16); const newLabel = { owner: context.repo.owner, - repo: context.repo.repo, + repo: "${{ matrix.entry.repo }}", name: labelName, color: randomColor, description: labelName