mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
ae7175d0ab
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49123 Previously, we used to have CI workflows scripts in a `react-native/scripts/circleci` folder. Now that we are not using CircleCI anymore, we move those scripts to the `.github/workflow-scripts` folder. ## Changelog: [Internal] - Move ci scripts to the `.github/workflow-scripts` folder Reviewed By: cortinico, huntie Differential Revision: D69047581 fbshipit-source-id: 6a5d8525e526cc7521d42e2be9530deb09914fdc
18 lines
499 B
Bash
Executable File
18 lines
499 B
Bash
Executable File
#!/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
|