Skip to content

Update @sanity/pkg-utils #2

Update @sanity/pkg-utils

Update @sanity/pkg-utils #2

---
name: Update @sanity/pkg-utils
on:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
permissions:
contents: read
jobs:
run:
name: Can the @sanity/pkg-utils dependency be updated? πŸ€”
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v6
with:
node-version: lts/*
- run: npm install @sanity/pkg-utils@latest --save-exact
- uses: actions/create-github-app-token@v2
id: app-token
if: ${{ env.HAVE_ECOSPARK_APP_ID == 'true' }}
env:
HAVE_ECOSPARK_APP_ID: ${{ secrets.ECOSPARK_APP_ID != '' }}
with:
app-id: ${{ secrets.ECOSPARK_APP_ID }}
private-key: ${{ secrets.ECOSPARK_APP_PRIVATE_KEY }}
- uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
if: ${{ steps.app-token.outputs.token != '' }}
with:
body: I ran `npm install @sanity/pkg-utils@latest --save-exact` πŸ§‘β€πŸ’»
branch: actions/install-pkg-utils
commit-message: "fix(deps): update @sanity/pkg-utils"
labels: πŸ€– bot
sign-commits: true
title: "fix(deps): update @sanity/pkg-utils"
token: ${{ steps.app-token.outputs.token }}