Skip to content

Commit 68a7291

Browse files
authored
RN libs update + remove manual-review on RN (#164)
1 parent 768a96d commit 68a7291

9 files changed

Lines changed: 1505 additions & 1425 deletions

File tree

.github/dependabot.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,18 +75,14 @@ updates:
7575
patterns: ["*"]
7676
update-types: ["minor", "patch"]
7777

78-
# React Native — auto-merge workflow excludes /samples/react-native/* by
79-
# directory match, so bumps always require human review. Dep bumps can break
80-
# native autolinking / API shapes that `tsc --noEmit` doesn't catch. The
81-
# "manual-review" label is informational (the workflow filter is dir-based).
8278
- package-ecosystem: "npm"
8379
directories:
8480
- "/samples/react-native/login-pkce"
8581
- "/samples/react-native/token-refresh"
8682
schedule:
8783
interval: "weekly"
8884
open-pull-requests-limit: 3
89-
labels: ["dependencies", "manual-review"]
85+
labels: ["dependencies"]
9086
commit-message:
9187
prefix: "deps"
9288
groups:

.github/workflows/dependabot-auto-merge.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,19 @@ jobs:
1717
with:
1818
github-token: ${{ secrets.GITHUB_TOKEN }}
1919
- name: Approve PR
20-
# Auto-merge patch + minor updates EXCEPT for React Native samples.
21-
# RN dep bumps can change native autolinking / API shapes that
22-
# `tsc --noEmit` doesn't catch — require manual review.
20+
# Auto-merge patch + minor updates across all samples (RN iOS is now
21+
# covered by test-ios.yml's `pod install` + `xcodebuild build`).
2322
if: |
24-
(steps.metadata.outputs.update-type == 'version-update:semver-patch' ||
25-
steps.metadata.outputs.update-type == 'version-update:semver-minor') &&
26-
!startsWith(steps.metadata.outputs.directory, '/samples/react-native')
23+
steps.metadata.outputs.update-type == 'version-update:semver-patch' ||
24+
steps.metadata.outputs.update-type == 'version-update:semver-minor'
2725
run: gh pr review --approve "$PR_URL"
2826
env:
2927
PR_URL: ${{ github.event.pull_request.html_url }}
3028
GH_TOKEN: ${{ secrets.GH_SERVICE_ACCOUNT_DEVOPS_2_PAT1 }}
3129
- name: Enable auto-merge
3230
if: |
33-
(steps.metadata.outputs.update-type == 'version-update:semver-patch' ||
34-
steps.metadata.outputs.update-type == 'version-update:semver-minor') &&
35-
!startsWith(steps.metadata.outputs.directory, '/samples/react-native')
31+
steps.metadata.outputs.update-type == 'version-update:semver-patch' ||
32+
steps.metadata.outputs.update-type == 'version-update:semver-minor'
3633
run: gh pr merge --auto --squash "$PR_URL"
3734
env:
3835
PR_URL: ${{ github.event.pull_request.html_url }}

samples/react-native/login-pkce/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@
2323
},
2424
"devDependencies": {
2525
"@react-native-community/cli": "20.1.3",
26-
"@react-native/babel-preset": "0.85.2",
27-
"@react-native/jest-preset": "0.85.2",
28-
"@react-native/metro-config": "0.85.2",
29-
"@react-native/typescript-config": "0.85.2",
26+
"@react-native/babel-preset": "0.85.3",
27+
"@react-native/jest-preset": "0.85.3",
28+
"@react-native/metro-config": "0.85.3",
29+
"@react-native/typescript-config": "0.85.3",
3030
"@testing-library/react-native": "13.3.3",
3131
"@types/jest": "30.0.0",
3232
"@types/react": "19.2.14",
33-
"babel-jest": "30.3.0",
34-
"jest": "30.3.0",
33+
"babel-jest": "30.4.1",
34+
"jest": "30.4.2",
3535
"prettier": "3.8.3",
3636
"react-test-renderer": "19.2.3",
37-
"typescript": "5.9.3"
37+
"typescript": "6.0.3"
3838
},
3939
"engines": {
4040
"node": ">=22.11"

0 commit comments

Comments
 (0)