Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: 🐛 React Native - Bug Report
description: Report a reproducible bug or regression in React Native.
labels: ["Needs: Triage :mag:"]
labels: ['Needs: Triage :mag:']
body:
- type: markdown
attributes:
value: "## Reporting a bug to React Native"
value: '## Reporting a bug to React Native'
- type: markdown
attributes:
value: |
Expand Down Expand Up @@ -46,7 +46,7 @@ body:
attributes:
label: React Native Version
description: The version of react-native that this issue reproduces on. Bear in mind that only issues on [supported versions](https://github.com/reactwg/react-native-releases#which-versions-are-currently-supported) will be looked into.
placeholder: "0.73.0"
placeholder: '0.73.0'
validations:
required: true
- type: dropdown
Expand Down Expand Up @@ -111,7 +111,7 @@ body:
attributes:
label: MANDATORY Reproducer
description: A link to either a failing RNTesterPlayground.js file, an Expo Snack or a public repository from [this template](https://github.com/react-native-community/reproducer-react-native) that reproduces this bug. Reproducers are **mandatory**, issues without a reproducer will be closed.
placeholder: "https://github.com/<myuser>/<myreproducer>"
placeholder: 'https://github.com/<myuser>/<myreproducer>'
validations:
required: true
- type: textarea
Expand Down
48 changes: 24 additions & 24 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
blank_issues_enabled: false
contact_links:
- name: ⬆️ Upgrade - Build Regression
url: https://github.com/reactwg/react-native-releases/issues/new/choose
about: |
If you are upgrading to a new React Native version (stable or pre-release) and encounter a build regression.
- name: 🚀 Expo Issue
url: https://github.com/expo/expo/issues/new
about: |
If you're using Expo in your project, please report the issue first in the Expo issue tracker.
- name: 📃 Documentation Issue
url: https://github.com/facebook/react-native-website/issues
about: Please report documentation issues in the React Native website repository.
- name: 📦 Metro Issue
url: https://github.com/facebook/metro/issues/new
about: |
If you've encountered a module resolution problem, e.g. "Error: Unable to resolve module ...", or something else that might be related to Metro, please open an issue in the Metro repo instead.
- name: 🤔 Questions and Help
url: https://reactnative.dev/help
about: Looking for help with your app? Please refer to the React Native community's support resources.
- name: 💫 New Architecture - Questions & Technical Deep dive insights
url: https://github.com/reactwg/react-native-new-architecture
about: Questions and doubts related to technical questions for the New Architecture should be directed to the Working Group. Instructions on how to join are available in the README.
- name: 🚀 Discussions and Proposals
url: https://github.com/react-native-community/discussions-and-proposals
about: Discuss the future of React Native in the React Native community's discussions and proposals repository.
- name: ⬆️ Upgrade - Build Regression
url: https://github.com/reactwg/react-native-releases/issues/new/choose
about: |
If you are upgrading to a new React Native version (stable or pre-release) and encounter a build regression.
- name: 🚀 Expo Issue
url: https://github.com/expo/expo/issues/new
about: |
If you're using Expo in your project, please report the issue first in the Expo issue tracker.
- name: 📃 Documentation Issue
url: https://github.com/facebook/react-native-website/issues
about: Please report documentation issues in the React Native website repository.
- name: 📦 Metro Issue
url: https://github.com/facebook/metro/issues/new
about: |
If you've encountered a module resolution problem, e.g. "Error: Unable to resolve module ...", or something else that might be related to Metro, please open an issue in the Metro repo instead.
- name: 🤔 Questions and Help
url: https://reactnative.dev/help
about: Looking for help with your app? Please refer to the React Native community's support resources.
- name: 💫 New Architecture - Questions & Technical Deep dive insights
url: https://github.com/reactwg/react-native-new-architecture
about: Questions and doubts related to technical questions for the New Architecture should be directed to the Working Group. Instructions on how to join are available in the README.
- name: 🚀 Discussions and Proposals
url: https://github.com/react-native-community/discussions-and-proposals
about: Discuss the future of React Native in the React Native community's discussions and proposals repository.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/debugger_bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: 🔍 Debugger - Bug Report
description: Report a bug with React Native DevTools and the New Debugger
labels: ["Needs: Triage :mag:", "Debugging"]
labels: ['Needs: Triage :mag:', 'Debugging']

body:
- type: markdown
attributes:
value: "## Reporting a bug for React Native DevTools"
value: '## Reporting a bug for React Native DevTools'
- type: markdown
attributes:
value: |
Expand Down Expand Up @@ -42,7 +42,7 @@ body:
attributes:
label: React Native Version
description: The version of react-native that this issue reproduces on. Bear in mind that only issues on [supported versions](https://github.com/reactwg/react-native-releases#which-versions-are-currently-supported) will be looked into.
placeholder: "0.76.0"
placeholder: '0.76.0'
validations:
required: true
- type: textarea
Expand Down
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/new_architecture_bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: 💫 New Architecture - Bug Report
description: Report a reproducible bug or a build issue when using the New Architecture (Fabric & TurboModules) in React Native.
labels: ["Needs: Triage :mag:", "Type: New Architecture"]
labels: ['Needs: Triage :mag:', 'Type: New Architecture']

body:
- type: markdown
attributes:
value: "## New Architecture Related Bugs"
value: '## New Architecture Related Bugs'
- type: markdown
attributes:
value: |
Expand Down Expand Up @@ -43,7 +43,7 @@ body:
attributes:
label: React Native Version
description: The version of react-native that this issue reproduces on. Bear in mind that only issues on [supported versions](https://github.com/reactwg/react-native-releases#which-versions-are-currently-supported) will be looked into.
placeholder: "0.73.0"
placeholder: '0.73.0'
validations:
required: true
- type: dropdown
Expand Down Expand Up @@ -123,7 +123,7 @@ body:
attributes:
label: MANDATORY Reproducer
description: A link to either a failing RNTesterPlayground.js file, an Expo Snack or a public repository from [this template](https://github.com/react-native-community/reproducer-react-native) that reproduces this bug. Reproducers are **mandatory**, issues without a reproducer will be closed.
placeholder: "https://github.com/<myuser>/<myreproducer>"
placeholder: 'https://github.com/<myuser>/<myreproducer>'
validations:
required: true
- type: textarea
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/build-android/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ inputs:
required: true
description: The type of release we are building. It could be nightly, release or dry-run
gradle-cache-encryption-key:
description: "The encryption key needed to store the Gradle Configuration cache"
description: 'The encryption key needed to store the Gradle Configuration cache'
runs:
using: composite
steps:
Expand Down Expand Up @@ -34,7 +34,7 @@ runs:
- name: Setup gradle
uses: ./.github/actions/setup-gradle
with:
cache-read-only: "false"
cache-read-only: 'false'
cache-encryption-key: ${{ inputs.gradle-cache-encryption-key }}
- name: Restore Android ccache
uses: actions/cache/restore@v5
Expand Down
40 changes: 20 additions & 20 deletions .github/actions/build-fantom-runner/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
required: true
description: The type of release we are building. It could be nightly, release or dry-run
gradle-cache-encryption-key:
description: "The encryption key needed to store the Gradle Configuration cache"
description: 'The encryption key needed to store the Gradle Configuration cache'

runs:
using: composite
Expand All @@ -24,22 +24,22 @@ runs:
- name: Setup gradle
uses: ./.github/actions/setup-gradle
with:
cache-read-only: "false"
cache-read-only: 'false'
cache-encryption-key: ${{ inputs.gradle-cache-encryption-key }}
- name: Restore Fantom ccache
uses: actions/cache/restore@v5
with:
path: /github/home/.cache/ccache
key: v2-ccache-fantom-${{ github.job }}-${{ github.ref }}-${{ hashFiles(
'packages/react-native/ReactAndroid/**/*.cpp',
'packages/react-native/ReactAndroid/**/*.h',
'packages/react-native/ReactAndroid/**/CMakeLists.txt',
'packages/react-native/ReactCommon/**/*.cpp',
'packages/react-native/ReactCommon/**/*.h',
'packages/react-native/ReactCommon/**/CMakeLists.txt',
'private/react-native-fantom/tester/**/*.cpp',
'private/react-native-fantom/tester/**/*.h',
'private/react-native-fantom/tester/**/CMakeLists.txt'
'packages/react-native/ReactAndroid/**/*.cpp',
'packages/react-native/ReactAndroid/**/*.h',
'packages/react-native/ReactAndroid/**/CMakeLists.txt',
'packages/react-native/ReactCommon/**/*.cpp',
'packages/react-native/ReactCommon/**/*.h',
'packages/react-native/ReactCommon/**/CMakeLists.txt',
'private/react-native-fantom/tester/**/*.cpp',
'private/react-native-fantom/tester/**/*.h',
'private/react-native-fantom/tester/**/CMakeLists.txt'
) }}
restore-keys: |
v2-ccache-fantom-${{ github.job }}-${{ github.ref }}-
Expand All @@ -60,15 +60,15 @@ runs:
with:
path: /github/home/.cache/ccache
key: v2-ccache-fantom-${{ github.job }}-${{ github.ref }}-${{ hashFiles(
'packages/react-native/ReactAndroid/**/*.cpp',
'packages/react-native/ReactAndroid/**/*.h',
'packages/react-native/ReactAndroid/**/CMakeLists.txt',
'packages/react-native/ReactCommon/**/*.cpp',
'packages/react-native/ReactCommon/**/*.h',
'packages/react-native/ReactCommon/**/CMakeLists.txt',
'private/react-native-fantom/tester/**/*.cpp',
'private/react-native-fantom/tester/**/*.h',
'private/react-native-fantom/tester/**/CMakeLists.txt'
'packages/react-native/ReactAndroid/**/*.cpp',
'packages/react-native/ReactAndroid/**/*.h',
'packages/react-native/ReactAndroid/**/CMakeLists.txt',
'packages/react-native/ReactCommon/**/*.cpp',
'packages/react-native/ReactCommon/**/*.h',
'packages/react-native/ReactCommon/**/CMakeLists.txt',
'private/react-native-fantom/tester/**/*.cpp',
'private/react-native-fantom/tester/**/*.h',
'private/react-native-fantom/tester/**/CMakeLists.txt'
) }}
- name: Show ccache stats (after)
shell: bash
Expand Down
10 changes: 5 additions & 5 deletions .github/actions/create-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: create_release
description: Creates a new React Native release
inputs:
version:
description: "The version of React Native we want to release. For example 0.75.0-rc.0"
description: 'The version of React Native we want to release. For example 0.75.0-rc.0'
required: true
is-latest-on-npm:
description: "Whether we want to tag this release as latest on NPM"
description: 'Whether we want to tag this release as latest on NPM'
required: true
default: "false"
default: 'false'
dry-run:
description: "Whether the job should be executed in dry-run mode or not"
default: "true"
description: 'Whether the job should be executed in dry-run mode or not'
default: 'true'
runs:
using: composite
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/maestro-android/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ inputs:
default: release
working-directory:
required: false
default: "."
default: '.'
description: The directory from which metro should be started
emulator-arch:
required: false
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/maestro-ios/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ inputs:
default: Release
working-directory:
required: false
default: "."
default: '.'
description: The directory from which metro should be started

runs:
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/prepare-ios-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
- name: Boot iPhone Simulator
shell: bash
run: source scripts/.tests.env && xcrun simctl boot "$IOS_DEVICE" || true
- name: "Brew: Tap wix/brew"
- name: 'Brew: Tap wix/brew'
shell: bash
run: brew tap wix/brew
- name: brew install applesimutils watchman
Expand Down
8 changes: 4 additions & 4 deletions .github/actions/setup-gradle/action.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Setup gradle
description: "Set up your GitHub Actions workflow with a specific version of gradle"
description: 'Set up your GitHub Actions workflow with a specific version of gradle'
inputs:
cache-read-only:
description: "Whether the Gradle Cache should be in read-only mode so this job won't be allowed to write to it"
default: "true"
default: 'true'
cache-encryption-key:
description: "The encryption key needed to store the Gradle Configuration cache"
description: 'The encryption key needed to store the Gradle Configuration cache'
runs:
using: "composite"
using: 'composite'
steps:
- name: Setup gradle
uses: gradle/actions/setup-gradle@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ inputs:
required: false
default: ''
runs:
using: "composite"
using: 'composite'
steps:
- name: Setup node.js
uses: actions/setup-node@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-xcode/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ inputs:
required: false
default: '16.4.0'
runs:
using: "composite"
using: 'composite'
steps:
- name: Setup xcode
uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/test-ios-rntester/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ runs:
echo "App found at $APP_PATH"
echo "app-path=$APP_PATH" >> $GITHUB_ENV
- name: "Run Tests: iOS Unit and Integration Tests"
- name: 'Run Tests: iOS Unit and Integration Tests'
if: ${{ inputs.run-unit-tests == 'true' }}
shell: bash
run: yarn test-ios
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/test-js/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: test-js
description: Runs all the JS tests in the codebase
inputs:
node-version:
description: "The node.js version to use"
description: 'The node.js version to use'
required: false
default: "22"
default: '22'
runs:
using: composite
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cache-reaper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
schedule:
# Run every 2hrs during weekdays
- cron: "0 0/2 * * 1-5"
- cron: '0 0/2 * * 1-5'

jobs:
cache-cleaner:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/close-pr.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Label closed PR as merged and leave a comment
on:
push
on: push

permissions:
contents: read
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ on:
workflow_dispatch:
inputs:
version:
description: "The version of React Native we want to release. For example 0.75.0-rc.0"
description: 'The version of React Native we want to release. For example 0.75.0-rc.0'
required: true
type: string
is-latest-on-npm:
description: "Whether we want to tag this release as latest on NPM"
description: 'Whether we want to tag this release as latest on NPM'
required: true
type: boolean
default: false
dry-run:
description: "Whether the job should be executed in dry-run mode or not"
description: 'Whether the job should be executed in dry-run mode or not'
type: boolean
default: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-android-rntester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
default: false
outputs:
status:
description: "The result of the E2E tests (success or failure)"
description: 'The result of the E2E tests (success or failure)'
value: ${{ jobs.report.outputs.status }}

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-android-templateapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
default: false
outputs:
status:
description: "The result of the E2E tests (success or failure)"
description: 'The result of the E2E tests (success or failure)'
value: ${{ jobs.report.outputs.status }}

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-ios-rntester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
default: false
outputs:
status:
description: "The result of the E2E tests (success or failure)"
description: 'The result of the E2E tests (success or failure)'
value: ${{ jobs.report.outputs.status }}

jobs:
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
continue-on-error: true
uses: ./.github/actions/maestro-ios
with:
app-path: "/tmp/RNTesterBuild/RNTester.app"
app-path: '/tmp/RNTesterBuild/RNTester.app'
app-id: com.meta.RNTester.localDevelopment
maestro-flow: ./packages/rn-tester/.maestro/
flavor: ${{ matrix.flavor }}
Expand Down
Loading
Loading