Skip to content

Commit

Permalink
Merge pull request github#30765 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Dec 19, 2023
2 parents fb81df0 + 81a4ba5 commit 741aa89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/codeowners-legal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,12 @@ jobs:
env:
FILE_PATHS_CONTENT_TYPES: ${{ steps.filter.outputs.rai_files }}
CONTENT_TYPE: 'rai'
- name: Logging
run: |
echo ${{ steps.checkContentType.outputs.contentType }}
- name: Add Legal team as a reviewer
if: ${{ steps.checkContentType.outputs.contentType == true }}
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
2 changes: 2 additions & 0 deletions src/workflows/check-content-type.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ main()
async function main() {
const filePaths = JSON.parse(FILE_PATHS_CONTENT_TYPES)
const containsRai = checkContentType(filePaths, CONTENT_TYPE)
console.log('filePaths', filePaths)
console.log('containsRai', containsRai)
if (containsRai.length === 0) {
coreLib.setOutput('contentType', false)
} else {
Expand Down

0 comments on commit 741aa89

Please sign in to comment.