From 19c87d73049136e68504eb1905070706a87ab978 Mon Sep 17 00:00:00 2001 From: Jason Praful Date: Mon, 15 Sep 2025 12:08:32 +0100 Subject: [PATCH 1/4] remove hardcoded ruby version from gh action --- .github/workflows/update-dependencies.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index f293b547..f453225f 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -228,7 +228,6 @@ jobs: if: steps.update-analysis.outputs.overall_update_needed == 'true' && steps.pr-analysis.outputs.should_create_pr == 'true' uses: ruby/setup-ruby@v1 with: - ruby-version: '3.2' bundler-cache: true - name: 🛠️ Create update branch From 6da67b15c588822cd29f922b5eb4b6ae0773c92c Mon Sep 17 00:00:00 2001 From: Jason Praful Date: Mon, 15 Sep 2025 12:11:00 +0100 Subject: [PATCH 2/4] add semver to dev deps --- package.json | 1 + yarn.lock | 1 + 2 files changed, 2 insertions(+) diff --git a/package.json b/package.json index 6ecccbb5..99e12d75 100644 --- a/package.json +++ b/package.json @@ -98,6 +98,7 @@ "react": "18.2.0", "react-native": "^0.81.0", "react-native-builder-bob": "0.40.13", + "semver": "^7.7.2", "typescript": "5.0.4" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index b8fec3bd..f520a640 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2303,6 +2303,7 @@ __metadata: react: 18.2.0 react-native: ^0.81.0 react-native-builder-bob: 0.40.13 + semver: ^7.7.2 typescript: 5.0.4 peerDependencies: react: "*" From c979105d0babf9359f786135ff4081e066a03873 Mon Sep 17 00:00:00 2001 From: Jason Praful Date: Mon, 15 Sep 2025 12:14:51 +0100 Subject: [PATCH 3/4] install deps --- .github/workflows/update-dependencies.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index f453225f..62271eaf 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -26,10 +26,10 @@ jobs: with: node-version: '22.14.0' - - name: 📦 Enable Corepack and install semver + - name: 📦 Enable Corepack and install dependencies run: | corepack enable - npm install -g semver@7.7.2 + yarn install --immutable - name: 🔍 Get current dependency versions id: current-versions From bc7e55fc6ce9050717be759e2426776ae3086a57 Mon Sep 17 00:00:00 2001 From: Jason Praful Date: Mon, 15 Sep 2025 12:22:26 +0100 Subject: [PATCH 4/4] close quotes for commit message --- .github/workflows/update-dependencies.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index 62271eaf..6f937ed9 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -363,7 +363,7 @@ jobs: git commit -m "chore: update Intercom SDK dependencies (${{ steps.update-files.outputs.pr_title_parts }}) ${{ steps.update-files.outputs.changes }} - - Updated lockfiles and example projects + - Updated lockfiles and example projects" echo "🚀 Pushing branch: ${{ steps.create-branch.outputs.branch_name }}" git push origin "${{ steps.create-branch.outputs.branch_name }}"