diff --git a/.github/actions/lint/action.yml b/.github/actions/lint/action.yml index 35e4f70f84f..0956dea7bef 100644 --- a/.github/actions/lint/action.yml +++ b/.github/actions/lint/action.yml @@ -29,9 +29,6 @@ runs: - name: Run typescript check shell: bash run: yarn test-typescript - - name: Check license - shell: bash - run: ./.github/workflow-scripts/check_license.sh - name: Check formatting shell: bash run: yarn run format-check diff --git a/.github/workflow-scripts/check_license.sh b/.github/workflow-scripts/check_license.sh deleted file mode 100755 index 53b9dddcbe6..00000000000 --- a/.github/workflow-scripts/check_license.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -set -e - -# Make sure we don't introduce accidental references to PATENTS. -EXPECTED='.github/workflow-scripts/check_license.sh' -ACTUAL=$(git grep -l PATENTS) - -if [ "$EXPECTED" != "$ACTUAL" ]; then - echo "PATENTS crept into some new files?" - diff -u <(echo "$EXPECTED") <(echo "$ACTUAL") || true - exit 1 -fi