-
Notifications
You must be signed in to change notification settings - Fork 2
Next #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Next #30
Changes from 7 commits
7303375
df1876c
d2fe7d8
3450c03
d9b952e
ae269e7
4cc94a2
6183ab4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,44 +1,52 @@ | ||
| version: 2 | ||
|
|
||
| enable-beta-ecosystems: true | ||
| updates: | ||
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| - package-ecosystem: 'github-actions' | ||
| directory: '/' | ||
| schedule: | ||
| interval: "daily" | ||
| interval: 'daily' | ||
| labels: | ||
| - "dependencies" | ||
| - 'dependencies' | ||
|
|
||
| - package-ecosystem: "gradle" | ||
| - package-ecosystem: 'gradle' | ||
| directories: | ||
| - "/package/android/" | ||
| - "/example/android/" | ||
| - '/android/' | ||
| - '/example/android/' | ||
| schedule: | ||
| interval: 'daily' | ||
| labels: | ||
| - 'nitro-core' | ||
| - 'nitrogen' | ||
| - 'dependencies' | ||
| - 'kotlin' | ||
|
|
||
| - package-ecosystem: 'bundler' | ||
| directory: '/example/' | ||
| schedule: | ||
| interval: "daily" | ||
| interval: 'daily' | ||
| labels: | ||
| - "nitro-core" | ||
| - "nitrogen" | ||
| - "dependencies" | ||
| - "kotlin" | ||
| - 'dependencies' | ||
| - 'ruby' | ||
|
|
||
| - package-ecosystem: "npm" | ||
| - package-ecosystem: 'npm' | ||
| directories: | ||
| - "/package/" | ||
| - "/example/" | ||
| - '/example/' | ||
| - '/' | ||
| schedule: | ||
| interval: "daily" | ||
| interval: 'daily' | ||
| labels: | ||
| - "nitro-core" | ||
| - "dependencies" | ||
| - "typescript" | ||
| - "nitrogen" | ||
| - 'nitro-core' | ||
| - 'dependencies' | ||
| - 'typescript' | ||
| - 'nitrogen' | ||
|
|
||
| groups: | ||
| react-native-cli: | ||
| patterns: | ||
| - "@react-native-community/cli*" | ||
| - '@react-native-community/cli*' | ||
| babel: | ||
| patterns: | ||
| - "@babel/*" | ||
| - '@babel/*' | ||
| react-native: | ||
| patterns: | ||
| - "@react-native/*" | ||
| - '@react-native/*' | ||
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -7,30 +7,40 @@ on: | |||||||||||||||
| paths: | ||||||||||||||||
| - '.github/workflows/ios-build.yml' | ||||||||||||||||
| - 'example/ios/**' | ||||||||||||||||
| - 'example/Gemfile' | ||||||||||||||||
| - 'example/Gemfile.lock' | ||||||||||||||||
| - '**/nitrogen/generated/shared/**' | ||||||||||||||||
| - '**/nitrogen/generated/ios/**' | ||||||||||||||||
| - 'react-native-nitro-in-app-browser/cpp/**' | ||||||||||||||||
| - 'react-native-nitro-in-app-browser/ios/**' | ||||||||||||||||
| - 'cpp/**' | ||||||||||||||||
| - 'ios/**' | ||||||||||||||||
| - '**/Podfile.lock' | ||||||||||||||||
| - '**/bun.lock' | ||||||||||||||||
| - '**/*.podspec' | ||||||||||||||||
| - '**/react-native.config.js' | ||||||||||||||||
| - '**/nitro.json' | ||||||||||||||||
| pull_request: | ||||||||||||||||
| paths: | ||||||||||||||||
| - '.github/workflows/ios-build.yml' | ||||||||||||||||
| - 'example/ios/**' | ||||||||||||||||
| - 'example/Gemfile' | ||||||||||||||||
| - 'example/Gemfile.lock' | ||||||||||||||||
| - '**/nitrogen/generated/shared/**' | ||||||||||||||||
| - '**/nitrogen/generated/ios/**' | ||||||||||||||||
| - 'react-native-nitro-in-app-browser/cpp/**' | ||||||||||||||||
| - 'react-native-nitro-in-app-browser/ios/**' | ||||||||||||||||
| - 'cpp/**' | ||||||||||||||||
| - 'ios/**' | ||||||||||||||||
| - '**/Podfile.lock' | ||||||||||||||||
| - '**/bun.lock' | ||||||||||||||||
| - '**/*.podspec' | ||||||||||||||||
| - '**/react-native.config.js' | ||||||||||||||||
| - '**/nitro.json' | ||||||||||||||||
|
|
||||||||||||||||
| env: | ||||||||||||||||
| USE_CCACHE: 1 | ||||||||||||||||
|
|
||||||||||||||||
| concurrency: | ||||||||||||||||
| group: ${{ github.workflow }}-${{ github.ref }} | ||||||||||||||||
| cancel-in-progress: true | ||||||||||||||||
|
|
||||||||||||||||
|
Comment on lines
+40
to
+43
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix indentation and trailing spaces in the concurrency block The current indentation (4 spaces) will fail YAML parsing, and there are trailing spaces on line 43. Adjust to 2-space indentation and remove trailing spaces: -concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true📝 Committable suggestion
Suggested change
🧰 Tools🪛 YAMLlint (1.35.1)[warning] 41-41: wrong indentation: expected 2 but found 4 (indentation) [error] 43-43: trailing spaces (trailing-spaces) 🤖 Prompt for AI Agents |
||||||||||||||||
| jobs: | ||||||||||||||||
| build_new: | ||||||||||||||||
| name: Build iOS Example App (new architecture) | ||||||||||||||||
|
|
@@ -42,9 +52,6 @@ jobs: | |||||||||||||||
| - name: Install npm dependencies (bun) | ||||||||||||||||
| run: bun install | ||||||||||||||||
|
|
||||||||||||||||
| - name: Restore ccache | ||||||||||||||||
| uses: hendrikmuhs/ccache-action@v1.2 | ||||||||||||||||
|
|
||||||||||||||||
| - name: Setup Ruby (bundle) | ||||||||||||||||
| uses: ruby/setup-ruby@v1 | ||||||||||||||||
| with: | ||||||||||||||||
|
|
@@ -70,8 +77,8 @@ jobs: | |||||||||||||||
| run: "set -o pipefail && xcodebuild \ | ||||||||||||||||
| CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ \ | ||||||||||||||||
| -derivedDataPath build -UseModernBuildSystem=YES \ | ||||||||||||||||
| -workspace ExampleApp.xcworkspace \ | ||||||||||||||||
| -scheme ExampleApp \ | ||||||||||||||||
| -workspace NitroInAppBrowserExample.xcworkspace \ | ||||||||||||||||
| -scheme NitroInAppBrowserExample \ | ||||||||||||||||
| -sdk iphonesimulator \ | ||||||||||||||||
| -configuration Debug \ | ||||||||||||||||
| -destination 'platform=iOS Simulator,name=iPhone 16' \ | ||||||||||||||||
|
|
@@ -120,8 +127,8 @@ jobs: | |||||||||||||||
| run: "set -o pipefail && xcodebuild \ | ||||||||||||||||
| CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ \ | ||||||||||||||||
| -derivedDataPath build -UseModernBuildSystem=YES \ | ||||||||||||||||
| -workspace ExampleApp.xcworkspace \ | ||||||||||||||||
| -scheme ExampleApp \ | ||||||||||||||||
| -workspace NitroInAppBrowserExample.xcworkspace \ | ||||||||||||||||
| -scheme NitroInAppBrowserExample \ | ||||||||||||||||
| -sdk iphonesimulator \ | ||||||||||||||||
| -configuration Debug \ | ||||||||||||||||
| -destination 'platform=iOS Simulator,name=iPhone 16' \ | ||||||||||||||||
|
|
||||||||||||||||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| name: Release | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| - next | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
Comment on lines
+9
to
+10
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Check permission configuration inconsistency There's a potential issue with permissions. The top-level permission grants only read access, but the job-level permissions grant write access to multiple resources. Consider removing the top-level permission or aligning them. permissions:
- contents: read
+ # No need for top-level permissions when they're defined at the job levelAlso applies to: 20-24 🧰 Tools🪛 YAMLlint (1.35.1)[warning] 10-10: wrong indentation: expected 4 but found 2 (indentation) 🤖 Prompt for AI Agents |
||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| release: | ||
| name: Release | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: write | ||
| issues: write | ||
| pull-requests: write | ||
| id-token: write | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
| - name: Setup Bun.js | ||
| uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version: latest | ||
| - name: Cache bun dependencies | ||
| id: bun-cache | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: ~/.bun/install/cache | ||
| key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-bun- | ||
|
|
||
| - name: Install npm dependencies (bun) | ||
| run: bun install | ||
| - name: Release | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
| NPM_CONFIG_PROVENANCE: true | ||
| run: bun release | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue with 'directories' key for gradle ecosystem
The Dependabot configuration uses
directories(plural) for the gradle ecosystem, but Dependabot expectsdirectory(singular). This might cause Dependabot to ignore these configurations.🤖 Prompt for AI Agents