From c2ac8b4f0e000e4e2000f0ea6d11673431191e4d Mon Sep 17 00:00:00 2001 From: lauren Date: Wed, 20 Aug 2025 17:09:38 -0400 Subject: [PATCH 1/2] [ci] Fix permissions for direct sync branch PRs workflow (#34241) Because we sync built artifacts into Meta, we can't support edits from inside www/fbsource to be synced back into OSS as it would cause merge conflicts for future OSS PRs. We have a workflow that should automatically catch and close these PRs, but it looks like this one was missing one permission. --- .github/workflows/shared_close_direct_sync_branch_prs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/shared_close_direct_sync_branch_prs.yml b/.github/workflows/shared_close_direct_sync_branch_prs.yml index 01db0907401..caa4da880b5 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 From 83c7379b9601f25463826449256f0cd3d283702d Mon Sep 17 00:00:00 2001 From: Jan Kassens Date: Wed, 20 Aug 2025 18:24:01 -0400 Subject: [PATCH 2/2] Add flow suppression for Constant Condition rollout (#34243) --- .../rollup/shims/react-native/ReactNativeViewConfigRegistry.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/rollup/shims/react-native/ReactNativeViewConfigRegistry.js b/scripts/rollup/shims/react-native/ReactNativeViewConfigRegistry.js index 5f53e7634af..75e646e1b39 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);