fix(deps): update octokit monorepo (major) #279
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Renovate Helper | |
on: | |
pull_request: | |
paths: | |
- "package-lock.json" | |
- "package.json" | |
jobs: | |
npm: | |
runs-on: ubuntu-22.04 | |
if: github.actor == 'renovate[bot]' | |
permissions: | |
contents: write | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: peaceiris/workflows/setup-git@v0.19.1 | |
- uses: peaceiris/workflows/setup-node@v0.19.1 | |
with: | |
node-version-file: ".nvmrc" | |
- run: npm ci | |
- run: npm run build | |
- run: git status | |
- run: git diff --exit-code | |
- name: Commit and Push | |
if: failure() | |
env: | |
HEAD_REF: ${{ github.head_ref }} | |
run: | | |
git checkout -b "${HEAD_REF}" "origin/${HEAD_REF}" | |
git add . | |
git commit -m "chore: npm run build" | |
git push |