name: Update Silk Dependencies on: # schedule: # - cron: 0 0,6,12,18 * * 1-5 # - cron: 0 0 * * 0,6 workflow_dispatch: inputs: dry-run: description: Run without making changes type: boolean default: false branch: description: Branch name for dependency update PR type: string default: pnpm/config-deps concurrency: group: pnpm-update-${{ github.ref }} cancel-in-progress: true jobs: pnpm-update: name: Update Config Dependencies runs-on: ubuntu-latest permissions: contents: write pull-requests: write checks: write steps: - name: Checkout uses: actions/checkout@v7 with: ref: main fetch-depth: 0 - name: Setup Runtime id: runtime uses: savvy-web/silk-runtime-action@v1 with: ignore-scripts: true - name: Update Config Dependencies id: update uses: savvy-web/silk-update-action@v4 with: app-client-id: ${{ vars.APP_CLIENT_ID }} app-private-key: ${{ secrets.APP_PRIVATE_KEY }} branch: ${{ inputs.branch || 'pnpm/config-deps' }} dry-run: ${{ inputs.dry-run || false }} changesets: true auto-merge: "squash" upgrade-package-manager: ">=12.0.0 <12.7.0 || >12.7.0 <13.0.0" # skip pnpm 12.7.0 (breaks builds) upgrade-runtime-node: "^26.0.0" config-dependencies: | @savvy-web/pnpm-plugin-silk dependencies: | @okfit/* @savvy-web/* @vitest-agent/* rolldown-pnpm-config rspress-plugin-api-extractor pluginfinity run: | pnpm savvy init pnpm lint:fix 2>/dev/null || true