You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apply prettier to .yml files + consistent quote style
Summary:
We currently have a mix of quote styles in `.yml` files (AI summary below). This applies prettier and reformats everything to single quotes to align with defaults.
Also fixes a couple of cases of over-indentation.
```
Single-quotes only (0 double-quoted scalars):
analyze-pr.yml
— 12 single, 0 double
api-changes.yml
— 3 single, 0 double
check-for-reproducer.yml
— 4 single, 0 double
retry-workflow.yml
— 1 single, 0 double
Single-quote predominant > double:
autorebase.yml 2 vs 1
create-draft-release.yml 8 vs 2
generate-changelog.yml 3 vs 2
on-issue-labeled.yml 7 vs 2
prebuild-ios-core.yml 59 vs 17
prebuild-ios-dependencies.yml 39 vs 1
stale-bot.yml 18 vs 15
test-all.yml 70 vs 27
Double-quote predominant > single:
bump-podfile-lock.yml 1 vs 10
create-release.yml 3 vs 12
e2e-android-rntester.yml 2 vs 6
e2e-android-templateapp.yml 6 vs 13
e2e-ios-rntester.yml 2 vs 7
e2e-ios-templateapp.yml 2 vs 18
fantom-tests.yml 2 vs 7
monitor-new-issues.yml 3 vs 12
publish-npm.yml 42 vs 50
validate-cxx-api-snapshots.yml 2 vs 23
validate-dotslash-artifacts.yml 2 vs 5
Tie / 1-1:
cache-reaper.yml 1 vs 1
close-pr.yml 1 vs 1
needs-attention.yml 2 vs 2
All files contain single quotes somewhere, but only those 4 are single-quote-exclusive. Most CI-heavy workflows — bump, create-release, e2e-, fantom, monitor, publish-npm, validate- — lean double-quoted, while the pr/issue automation, prebuild ios, test-all, and stale-bot lean single-quoted.
```
Changelog: [Internal]
Differential Revision: D109151683
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/bug_report.yml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
name: 🐛 React Native - Bug Report
2
2
description: Report a reproducible bug or regression in React Native.
3
-
labels: ["Needs: Triage :mag:"]
3
+
labels: ['Needs: Triage :mag:']
4
4
body:
5
5
- type: markdown
6
6
attributes:
7
-
value: "## Reporting a bug to React Native"
7
+
value: '## Reporting a bug to React Native'
8
8
- type: markdown
9
9
attributes:
10
10
value: |
@@ -46,7 +46,7 @@ body:
46
46
attributes:
47
47
label: React Native Version
48
48
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.
49
-
placeholder: "0.73.0"
49
+
placeholder: '0.73.0'
50
50
validations:
51
51
required: true
52
52
- type: dropdown
@@ -111,7 +111,7 @@ body:
111
111
attributes:
112
112
label: MANDATORY Reproducer
113
113
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.
about: Please report documentation issues in the React Native website repository.
14
-
- name: 📦 Metro Issue
15
-
url: https://github.com/facebook/metro/issues/new
16
-
about: |
17
-
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.
18
-
- name: 🤔 Questions and Help
19
-
url: https://reactnative.dev/help
20
-
about: Looking for help with your app? Please refer to the React Native community's support resources.
21
-
- name: 💫 New Architecture - Questions & Technical Deep dive insights
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.
about: Please report documentation issues in the React Native website repository.
14
+
- name: 📦 Metro Issue
15
+
url: https://github.com/facebook/metro/issues/new
16
+
about: |
17
+
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.
18
+
- name: 🤔 Questions and Help
19
+
url: https://reactnative.dev/help
20
+
about: Looking for help with your app? Please refer to the React Native community's support resources.
21
+
- name: 💫 New Architecture - Questions & Technical Deep dive insights
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.
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/debugger_bug_report.yml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
name: 🔍 Debugger - Bug Report
2
2
description: Report a bug with React Native DevTools and the New Debugger
3
-
labels: ["Needs: Triage :mag:", "Debugging"]
3
+
labels: ['Needs: Triage :mag:', 'Debugging']
4
4
5
5
body:
6
6
- type: markdown
7
7
attributes:
8
-
value: "## Reporting a bug for React Native DevTools"
8
+
value: '## Reporting a bug for React Native DevTools'
9
9
- type: markdown
10
10
attributes:
11
11
value: |
@@ -42,7 +42,7 @@ body:
42
42
attributes:
43
43
label: React Native Version
44
44
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.
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/new_architecture_bug_report.yml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
name: 💫 New Architecture - Bug Report
2
2
description: Report a reproducible bug or a build issue when using the New Architecture (Fabric & TurboModules) in React Native.
3
-
labels: ["Needs: Triage :mag:", "Type: New Architecture"]
3
+
labels: ['Needs: Triage :mag:', 'Type: New Architecture']
4
4
5
5
body:
6
6
- type: markdown
7
7
attributes:
8
-
value: "## New Architecture Related Bugs"
8
+
value: '## New Architecture Related Bugs'
9
9
- type: markdown
10
10
attributes:
11
11
value: |
@@ -43,7 +43,7 @@ body:
43
43
attributes:
44
44
label: React Native Version
45
45
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.
46
-
placeholder: "0.73.0"
46
+
placeholder: '0.73.0'
47
47
validations:
48
48
required: true
49
49
- type: dropdown
@@ -123,7 +123,7 @@ body:
123
123
attributes:
124
124
label: MANDATORY Reproducer
125
125
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.
0 commit comments