diff --git a/.github/workflows/shared_close_direct_sync_branch_prs.yml b/.github/workflows/shared_close_direct_sync_branch_prs.yml index 01db0907401c0..caa4da880b5ff 100644 --- a/.github/workflows/shared_close_direct_sync_branch_prs.yml +++ b/.github/workflows/shared_close_direct_sync_branch_prs.yml @@ -18,6 +18,7 @@ jobs: permissions: # Used to create a review and close PRs pull-requests: write + contents: write steps: - name: Close PR uses: actions/github-script@v7 diff --git a/scripts/rollup/shims/react-native/ReactNativeViewConfigRegistry.js b/scripts/rollup/shims/react-native/ReactNativeViewConfigRegistry.js index 5f53e7634afde..75e646e1b39df 100644 --- a/scripts/rollup/shims/react-native/ReactNativeViewConfigRegistry.js +++ b/scripts/rollup/shims/react-native/ReactNativeViewConfigRegistry.js @@ -81,6 +81,8 @@ export function register(name: string, callback: () => ViewConfig): string { typeof callback === 'function', 'View config getter callback for component `%s` must be a function (received `%s`)', name, + /* $FlowFixMe[invalid-compare] Error discovered during Constant Condition + * roll out. See https://fburl.com/workplace/5whu3i34. */ callback === null ? 'null' : typeof callback, ); viewConfigCallbacks.set(name, callback);