From 618253fb14db6b12e17795929558a6d3604d116a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Ch=C4=99ci=C5=84ski?= Date: Tue, 8 Nov 2022 19:54:29 +0100 Subject: [PATCH] Run enforce labels workflow on version bump in clients repo (#4006) * Fix version bump to run enforce labels workflow * Add login to Azure * Trigger enforce labels manually from bump version workflow * Update .github/workflows/enforce-labels.yml Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com> * Update .github/workflows/version-bump.yml Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com> Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com> --- .github/workflows/enforce-labels.yml | 1 + .github/workflows/version-bump.yml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/enforce-labels.yml b/.github/workflows/enforce-labels.yml index 61c3233f031..6528c94f1f8 100644 --- a/.github/workflows/enforce-labels.yml +++ b/.github/workflows/enforce-labels.yml @@ -2,6 +2,7 @@ name: Enforce PR labels on: + workflow_call: pull_request: types: [labeled, unlabeled, opened, edited, synchronize] jobs: diff --git a/.github/workflows/version-bump.yml b/.github/workflows/version-bump.yml index 8a3101bd2e8..80d54eef145 100644 --- a/.github/workflows/version-bump.yml +++ b/.github/workflows/version-bump.yml @@ -175,3 +175,8 @@ jobs: ## Objective Automated ${{ github.event.inputs.client }} version bump to ${{ github.event.inputs.version_number }}" + enforce-labels: + name: Enforce Labels + needs: bump_version + uses: ./.github/workflows/enforce-labels.yml + secrets: inherit