Skip to content

Commit af536e3

Browse files
committed
[ez] Add noformat etc headers into some files
These are only needed internally so I'm opting to just do it in the commit artifacts job instead of amending the build config. ghstack-source-id: 6a5382b Pull Request resolved: #30775
1 parent ab24f64 commit af536e3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/runtime_commit_artifacts.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ jobs:
8585
sed -i -e 's/ @license React*//' \
8686
build/oss-experimental/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js \
8787
build/oss-experimental/react-refresh/cjs/react-refresh-babel.development.js
88+
- name: Insert @headers into eslint plugin and react-refresh
89+
run: |
90+
sed -i -e 's/ LICENSE file in the root directory of this source tree./ LICENSE file in the root directory of this source tree.\n * \n * @noformat\n * @nolint\n * @lightSyntaxTransform\n * @preventMunge\n * @oncall react_core/' \
91+
build/oss-experimental/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js \
92+
build/oss-experimental/react-refresh/cjs/react-refresh-babel.development.js
8893
- name: Move relevant files for React in www into compiled
8994
run: |
9095
# Move the facebook-www folder into compiled

0 commit comments

Comments
 (0)