Skip to content

Commit

Permalink
Fix legal codeowners workflow (#48147)
Browse files Browse the repository at this point in the history
  • Loading branch information
rachmari authored Dec 19, 2023
1 parent 7845223 commit ccbcffc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/codeowners-legal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,20 @@ jobs:
- 'content/**'
- name: Check out repo
if: ${{ steps.filter.outputs.rai}}
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0

- name: Set up Node and dependencies
uses: ./.github/actions/node-npm-setup

- 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
Expand Down

0 comments on commit ccbcffc

Please sign in to comment.