From ccbcffcad4f6ec934be7aed050a1820628f2a12f Mon Sep 17 00:00:00 2001 From: Rachael Sewell Date: Tue, 19 Dec 2023 13:41:35 -0800 Subject: [PATCH] Fix legal codeowners workflow (#48147) --- .github/workflows/codeowners-legal.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/codeowners-legal.yml b/.github/workflows/codeowners-legal.yml index 2b66b319769a..933a3ee62682 100644 --- a/.github/workflows/codeowners-legal.yml +++ b/.github/workflows/codeowners-legal.yml @@ -44,7 +44,6 @@ jobs: - 'content/**' - name: Check out repo - if: ${{ steps.filter.outputs.rai}} uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 - name: Set up Node and dependencies @@ -52,14 +51,13 @@ jobs: - name: Check content type id: checkContentType - if: ${{ steps.filter.outputs.rai}} run: npm run check-content-type env: FILE_PATHS_CONTENT_TYPES: ${{ steps.filter.outputs.rai_files }} CONTENT_TYPE: 'rai' - name: Add Legal team as a reviewer - if: ${{ steps.checkContentType.outputs.contentType }} + if: ${{ steps.checkContentType.outputs.contentType == true }} env: # The GH CLI uses a slightly different env name for # the token than the GITHUB_TOKEN used by actions