Keeping the dependencies of the project up to date is a tedious task. What if you can automate this expo-doctor.

The following is a raw action that needs to be improved to set up cron and create a pull request.

name: Expo Doctor (expo)
 
on:
  push:
    branches:
      - main
      - master
    paths:
      - "package.json"
      - "bun.lockb"
  pull_request:
    paths:
      - "package.json"
      - "bun.lockb"
 
jobs:
  doctor:
    name: Expo Doctor (expo)
    runs-on: ubuntu-latest
 
    steps:
      - name: 📦 Checkout project repo
        uses: actions/checkout@v4
        with:
          fetch-depth: 0
 
      - name: 📦 Setup Node + Bun + Install Dependencies
        uses: ./.github/actions/setup-node-bun-install
 
      - name: 🚑 Run Doctor Checks
        run: npx expo-doctor@latest

This action runs on every pull request. The code for installing dependencies and setting up node and bun is here GtiHub Composite Actions to make reusable and smaller Workflows