Skip to content

Commit 752891b

Browse files
authored
Update React Native GitHub repo slug (#57321)
* Update React Native GitHub repo slug * Fix repo slug test formatting * Use available runner for Android build * Use available Ubuntu runners in workflows
1 parent 70d1291 commit 752891b

206 files changed

Lines changed: 6865 additions & 6868 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
✋ To keep the backlog clean and actionable, issues will be
22
🚫 closed if they do not follow one of the issue templates:
3-
👉 https://github.com/facebook/react-native/issues/new/choose
3+
👉 https://github.com/react/react-native/issues/new/choose
44

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ body:
1616
* If you're found a problem with our **documentation**, [report it here](https://github.com/facebook/react-native-website/issues/).
1717
* If you're having an issue with **Metro** (the bundler), [report it here](https://github.com/facebook/metro/issues/).
1818
* If you're using an external library, report the issue to the **library first**.
19-
* Please [search for similar issues](https://github.com/facebook/react-native/issues) in our issue tracker.
19+
* Please [search for similar issues](https://github.com/react/react-native/issues) in our issue tracker.
2020
2121
Make sure that your issue:
2222
* Have a **valid reproducer** (See [How to report a bug](https://reactnative.dev/contributing/how-to-report-a-bug)).
23-
* Is tested against the [**latest stable**](https://github.com/facebook/react-native/releases/) of React Native.
23+
* Is tested against the [**latest stable**](https://github.com/react/react-native/releases/) of React Native.
2424
2525
🚨 IMPORTANT: Due to the extreme number of bugs we receive, issues **without a reproducer** or for an [**unsupported versions**](https://github.com/reactwg/react-native-releases#which-versions-are-currently-supported) of React Native **will be closed**.
2626
- type: textarea

.github/ISSUE_TEMPLATE/debugger_bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ body:
1616
* If you've found a problem with our **documentation**, [report it here](https://github.com/facebook/react-native-website/issues/).
1717
* If you're having an issue with **Metro** (the bundler), [report it here](https://github.com/facebook/metro/issues/).
1818
* If you're using an external library, report the issue to the **library first**.
19-
* Please [search for similar issues](https://github.com/facebook/react-native/issues) in our issue tracker.
19+
* Please [search for similar issues](https://github.com/react/react-native/issues) in our issue tracker.
2020
21-
Make sure that your issue is tested against the [**latest stable**](https://github.com/facebook/react-native/releases/) of React Native.
21+
Make sure that your issue is tested against the [**latest stable**](https://github.com/react/react-native/releases/) of React Native.
2222
- type: textarea
2323
id: description
2424
attributes:

.github/ISSUE_TEMPLATE/new_architecture_bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ body:
1212
Thank you for taking the time to report an issue for [the New Architecture of React Native](https://reactnative.dev/docs/the-new-architecture/landing-page),
1313
your contribution will help make the framework better for everyone.
1414
15-
If you're **NOT** using the New Architecture, please use this [other bug type](https://github.com/facebook/react-native/issues/new?template=bug_report.yml).
15+
If you're **NOT** using the New Architecture, please use this [other bug type](https://github.com/react/react-native/issues/new?template=bug_report.yml).
1616
Do not attempt to open a bug in this category if you're not using the New Architecture as your bug will be closed.
1717
1818
Make sure that your issue:
1919
* Have a **valid reproducer** (See [How to report a bug](https://reactnative.dev/contributing/how-to-report-a-bug)).
20-
* Is tested against the [**latest stable**](https://github.com/facebook/react-native/releases/) of React Native.
20+
* Is tested against the [**latest stable**](https://github.com/react/react-native/releases/) of React Native.
2121
2222
🚨 IMPORTANT: Due to the extreme number of bugs we receive, issues **without a reproducer** or for an [**unsupported versions**](https://github.com/reactwg/react-native-releases#which-versions-are-currently-supported) of React Native **will be closed**.
2323
- type: textarea

.github/RELEASE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ To help you upgrade to this version, you can use the [upgrade helper](https://re
2020

2121
---
2222

23-
See changes from this release in the [changelog PR](https://github.com/facebook/react-native/labels/%F0%9F%93%9D%20Changelog)
23+
See changes from this release in the [changelog PR](https://github.com/react/react-native/labels/%F0%9F%93%9D%20Changelog)

.github/SUPPORT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The React Native website is hosted on a [separate repository](https://github.com
1515

1616
## 🐛 I found a bug in React Native.
1717

18-
If you want to report a reproducible bug or regression in the React Native library, you can [create a new issue](https://github.com/facebook/react-native/issues/new?labels=Type%3A+Bug+Report&template=bug_report.md). It's a good idea to look through [open issues](https://github.com/facebook/react-native/issues) before doing so, as someone else may have reported a similar issue.
18+
If you want to report a reproducible bug or regression in the React Native library, you can [create a new issue](https://github.com/react/react-native/issues/new?labels=Type%3A+Bug+Report&template=bug_report.md). It's a good idea to look through [open issues](https://github.com/react/react-native/issues) before doing so, as someone else may have reported a similar issue.
1919

2020

2121
## 🚀 I want to discuss the future of React Native.

.github/workflow-scripts/__tests__/createDraftRelease-test.js

Lines changed: 43 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe('Create Draft Release', () => {
3838
);
3939
expect(mockFetch).toHaveBeenCalledTimes(1);
4040
expect(mockFetch).toHaveBeenCalledWith(
41-
'https://github.com/facebook/react-native/releases/tag/v0.77.1',
41+
'https://github.com/react/react-native/releases/tag/v0.77.1',
4242
);
4343
});
4444
});
@@ -49,64 +49,64 @@ describe('Create Draft Release', () => {
4949
5050
## v0.77.2
5151
52-
- [PR #1234](https://github.com/facebook/react-native/pull/1234) - Some change
53-
- [PR #5678](https://github.com/facebook/react-native/pull/5678) - Some other change
52+
- [PR #1234](https://github.com/react/react-native/pull/1234) - Some change
53+
- [PR #5678](https://github.com/react/react-native/pull/5678) - Some other change
5454
5555
5656
## v0.77.1
5757
### Breaking Changes
58-
- [PR #9012](https://github.com/facebook/react-native/pull/9012) - Some other change
58+
- [PR #9012](https://github.com/react/react-native/pull/9012) - Some other change
5959
6060
#### Android
61-
- [PR #3456](https://github.com/facebook/react-native/pull/3456) - Some other change
62-
- [PR #3457](https://github.com/facebook/react-native/pull/3457) - Some other change
61+
- [PR #3456](https://github.com/react/react-native/pull/3456) - Some other change
62+
- [PR #3457](https://github.com/react/react-native/pull/3457) - Some other change
6363
6464
#### iOS
65-
- [PR #3436](https://github.com/facebook/react-native/pull/3436) - Some other change
66-
- [PR #3437](https://github.com/facebook/react-native/pull/3437) - Some other change
65+
- [PR #3436](https://github.com/react/react-native/pull/3436) - Some other change
66+
- [PR #3437](https://github.com/react/react-native/pull/3437) - Some other change
6767
6868
### Fixed
69-
- [PR #9012](https://github.com/facebook/react-native/pull/9012) - Some other change
69+
- [PR #9012](https://github.com/react/react-native/pull/9012) - Some other change
7070
7171
#### Android
72-
- [PR #3456](https://github.com/facebook/react-native/pull/3456) - Some other change
72+
- [PR #3456](https://github.com/react/react-native/pull/3456) - Some other change
7373
7474
#### iOS
75-
- [PR #3437](https://github.com/facebook/react-native/pull/3437) - Some other change
75+
- [PR #3437](https://github.com/react/react-native/pull/3437) - Some other change
7676
7777
7878
## v0.77.0
7979
80-
- [PR #3456](https://github.com/facebook/react-native/pull/3456) - Some other change
80+
- [PR #3456](https://github.com/react/react-native/pull/3456) - Some other change
8181
8282
## v0.76.0
8383
84-
- [PR #7890](https://github.com/facebook/react-native/pull/7890) - Some other change`;
84+
- [PR #7890](https://github.com/react/react-native/pull/7890) - Some other change`;
8585

8686
jest.spyOn(fs, 'readFileSync').mockImplementationOnce(func => {
8787
return mockedReturnValue;
8888
});
8989
const changelog = _extractChangelog('0.77.1');
9090
expect(changelog).toEqual(`## v0.77.1
9191
### Breaking Changes
92-
- [PR #9012](https://github.com/facebook/react-native/pull/9012) - Some other change
92+
- [PR #9012](https://github.com/react/react-native/pull/9012) - Some other change
9393
9494
#### Android
95-
- [PR #3456](https://github.com/facebook/react-native/pull/3456) - Some other change
96-
- [PR #3457](https://github.com/facebook/react-native/pull/3457) - Some other change
95+
- [PR #3456](https://github.com/react/react-native/pull/3456) - Some other change
96+
- [PR #3457](https://github.com/react/react-native/pull/3457) - Some other change
9797
9898
#### iOS
99-
- [PR #3436](https://github.com/facebook/react-native/pull/3436) - Some other change
100-
- [PR #3437](https://github.com/facebook/react-native/pull/3437) - Some other change
99+
- [PR #3436](https://github.com/react/react-native/pull/3436) - Some other change
100+
- [PR #3437](https://github.com/react/react-native/pull/3437) - Some other change
101101
102102
### Fixed
103-
- [PR #9012](https://github.com/facebook/react-native/pull/9012) - Some other change
103+
- [PR #9012](https://github.com/react/react-native/pull/9012) - Some other change
104104
105105
#### Android
106-
- [PR #3456](https://github.com/facebook/react-native/pull/3456) - Some other change
106+
- [PR #3456](https://github.com/react/react-native/pull/3456) - Some other change
107107
108108
#### iOS
109-
- [PR #3437](https://github.com/facebook/react-native/pull/3437) - Some other change`);
109+
- [PR #3437](https://github.com/react/react-native/pull/3437) - Some other change`);
110110
});
111111

112112
it('does not extract changelog for rc.0', async () => {
@@ -125,15 +125,15 @@ describe('Create Draft Release', () => {
125125
const version = '0.77.1';
126126
const changelog = `## v${version}
127127
### Breaking Changes
128-
- [PR #9012](https://github.com/facebook/react-native/pull/9012) - Some other change
128+
- [PR #9012](https://github.com/react/react-native/pull/9012) - Some other change
129129
130130
#### Android
131-
- [PR #3456](https://github.com/facebook/react-native/pull/3456) - Some other change
132-
- [PR #3457](https://github.com/facebook/react-native/pull/3457) - Some other change
131+
- [PR #3456](https://github.com/react/react-native/pull/3456) - Some other change
132+
- [PR #3457](https://github.com/react/react-native/pull/3457) - Some other change
133133
134134
#### iOS
135-
- [PR #3436](https://github.com/facebook/react-native/pull/3436) - Some other change
136-
- [PR #3437](https://github.com/facebook/react-native/pull/3437) - Some other change`;
135+
- [PR #3436](https://github.com/react/react-native/pull/3436) - Some other change
136+
- [PR #3437](https://github.com/react/react-native/pull/3437) - Some other change`;
137137
const body = _computeBody(changelog, version);
138138

139139
expect(body).toEqual(`${changelog}
@@ -166,7 +166,7 @@ To help you upgrade to this version, you can use the [Upgrade Helper](https://re
166166
167167
---
168168
169-
View the whole changelog in the [CHANGELOG.md file](https://github.com/facebook/react-native/blob/main/CHANGELOG.md).`);
169+
View the whole changelog in the [CHANGELOG.md file](https://github.com/react/react-native/blob/main/CHANGELOG.md).`);
170170
});
171171

172172
it('computes body for release when hermes versions are passed', async () => {
@@ -175,15 +175,15 @@ View the whole changelog in the [CHANGELOG.md file](https://github.com/facebook/
175175
const hermesV1Version = '250829098.0.2';
176176
const changelog = `## v${version}
177177
### Breaking Changes
178-
- [PR #9012](https://github.com/facebook/react-native/pull/9012) - Some other change
178+
- [PR #9012](https://github.com/react/react-native/pull/9012) - Some other change
179179
180180
#### Android
181-
- [PR #3456](https://github.com/facebook/react-native/pull/3456) - Some other change
182-
- [PR #3457](https://github.com/facebook/react-native/pull/3457) - Some other change
181+
- [PR #3456](https://github.com/react/react-native/pull/3456) - Some other change
182+
- [PR #3457](https://github.com/react/react-native/pull/3457) - Some other change
183183
184184
#### iOS
185-
- [PR #3436](https://github.com/facebook/react-native/pull/3436) - Some other change
186-
- [PR #3437](https://github.com/facebook/react-native/pull/3437) - Some other change`;
185+
- [PR #3436](https://github.com/react/react-native/pull/3436) - Some other change
186+
- [PR #3437](https://github.com/react/react-native/pull/3437) - Some other change`;
187187
const body = _computeBody(
188188
changelog,
189189
version,
@@ -221,14 +221,14 @@ To help you upgrade to this version, you can use the [Upgrade Helper](https://re
221221
222222
---
223223
224-
View the whole changelog in the [CHANGELOG.md file](https://github.com/facebook/react-native/blob/main/CHANGELOG.md).`);
224+
View the whole changelog in the [CHANGELOG.md file](https://github.com/react/react-native/blob/main/CHANGELOG.md).`);
225225
});
226226
});
227227

228228
describe('#_createDraftReleaseOnGitHub', () => {
229229
it('creates a draft release on GitHub', async () => {
230230
const version = '0.77.1';
231-
const url = 'https://api.github.com/repos/facebook/react-native/releases';
231+
const url = 'https://api.github.com/repos/react/react-native/releases';
232232
const token = 'token';
233233
const headers = {
234234
Accept: 'Accept: application/vnd.github+json',
@@ -253,7 +253,7 @@ View the whole changelog in the [CHANGELOG.md file](https://github.com/facebook/
253253
Promise.resolve({
254254
id: 1,
255255
html_url:
256-
'https://github.com/facebook/react-native/releases/tag/v0.77.1',
256+
'https://github.com/react/react-native/releases/tag/v0.77.1',
257257
}),
258258
}),
259259
);
@@ -265,7 +265,7 @@ View the whole changelog in the [CHANGELOG.md file](https://github.com/facebook/
265265
);
266266
expect(mockFetch).toHaveBeenCalledTimes(1);
267267
expect(mockFetch).toHaveBeenCalledWith(
268-
`https://api.github.com/repos/facebook/react-native/releases`,
268+
`https://api.github.com/repos/react/react-native/releases`,
269269
{
270270
method: 'POST',
271271
headers: headers,
@@ -274,14 +274,13 @@ View the whole changelog in the [CHANGELOG.md file](https://github.com/facebook/
274274
);
275275
expect(response).toEqual({
276276
id: 1,
277-
html_url:
278-
'https://github.com/facebook/react-native/releases/tag/v0.77.1',
277+
html_url: 'https://github.com/react/react-native/releases/tag/v0.77.1',
279278
});
280279
});
281280

282281
it('creates a draft release for prerelease on GitHub', async () => {
283282
const version = '0.77.0-rc.2';
284-
const url = 'https://api.github.com/repos/facebook/react-native/releases';
283+
const url = 'https://api.github.com/repos/react/react-native/releases';
285284
const token = 'token';
286285
const headers = {
287286
Accept: 'Accept: application/vnd.github+json',
@@ -306,7 +305,7 @@ View the whole changelog in the [CHANGELOG.md file](https://github.com/facebook/
306305
Promise.resolve({
307306
id: 1,
308307
html_url:
309-
'https://github.com/facebook/react-native/releases/tag/v0.77.1',
308+
'https://github.com/react/react-native/releases/tag/v0.77.1',
310309
}),
311310
}),
312311
);
@@ -318,7 +317,7 @@ View the whole changelog in the [CHANGELOG.md file](https://github.com/facebook/
318317
);
319318
expect(mockFetch).toHaveBeenCalledTimes(1);
320319
expect(mockFetch).toHaveBeenCalledWith(
321-
`https://api.github.com/repos/facebook/react-native/releases`,
320+
`https://api.github.com/repos/react/react-native/releases`,
322321
{
323322
method: 'POST',
324323
headers: headers,
@@ -327,14 +326,13 @@ View the whole changelog in the [CHANGELOG.md file](https://github.com/facebook/
327326
);
328327
expect(response).toEqual({
329328
id: 1,
330-
html_url:
331-
'https://github.com/facebook/react-native/releases/tag/v0.77.1',
329+
html_url: 'https://github.com/react/react-native/releases/tag/v0.77.1',
332330
});
333331
});
334332

335333
it('throws if the post failes', async () => {
336334
const version = '0.77.0-rc.2';
337-
const url = 'https://api.github.com/repos/facebook/react-native/releases';
335+
const url = 'https://api.github.com/repos/react/react-native/releases';
338336
const token = 'token';
339337
const headers = {
340338
Accept: 'Accept: application/vnd.github+json',
@@ -362,7 +360,7 @@ View the whole changelog in the [CHANGELOG.md file](https://github.com/facebook/
362360
).rejects.toThrowError();
363361
expect(mockFetch).toHaveBeenCalledTimes(1);
364362
expect(mockFetch).toHaveBeenCalledWith(
365-
`https://api.github.com/repos/facebook/react-native/releases`,
363+
`https://api.github.com/repos/react/react-native/releases`,
366364
{
367365
method: 'POST',
368366
headers: headers,

.github/workflow-scripts/__tests__/generateChangelog-test.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ N/A`;
191191

192192
expect(mockFetch).toHaveBeenCalledTimes(1);
193193
expect(mockFetch).toHaveBeenCalledWith(
194-
'https://api.github.com/repos/facebook/react-native/pulls',
194+
'https://api.github.com/repos/react/react-native/pulls',
195195
{
196196
method: 'POST',
197197
headers: headers,
@@ -202,8 +202,7 @@ N/A`;
202202
it('Returns the pr url', async () => {
203203
const currentVersion = '0.79.0-rc5';
204204
const token = 'token';
205-
const expectedPrURL =
206-
'https://github.com/facebook/react-native/pulls/1234';
205+
const expectedPrURL = 'https://github.com/react/react-native/pulls/1234';
207206

208207
const returnedObject = {
209208
status: 201,
@@ -238,7 +237,7 @@ N/A`;
238237

239238
expect(mockFetch).toHaveBeenCalledTimes(1);
240239
expect(mockFetch).toHaveBeenCalledWith(
241-
'https://api.github.com/repos/facebook/react-native/pulls',
240+
'https://api.github.com/repos/react/react-native/pulls',
242241
{
243242
method: 'POST',
244243
headers: headers,

0 commit comments

Comments
 (0)