diff --git a/.github/workflows/fix-dependabot-lockfile.yml b/.github/workflows/fix-dependabot-lockfile.yml deleted file mode 100644 index fcba2e1..0000000 --- a/.github/workflows/fix-dependabot-lockfile.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: Fix Dependabot Lockfile - -on: - pull_request: - branches: [main] - -permissions: - contents: write - -env: - FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true - -jobs: - fix-lockfile: - name: Fix pnpm lockfile - runs-on: ubuntu-latest - if: github.actor == 'dependabot[bot]' - steps: - - name: Checkout - uses: actions/checkout@v7 - with: - ref: ${{ github.head_ref }} - token: ${{ secrets.GITHUB_TOKEN }} - - - name: Setup pnpm - uses: pnpm/action-setup@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version-file: .node-version - cache: pnpm - - - name: Regenerate lockfile - run: pnpm install --no-frozen-lockfile - - - name: Commit lockfile if changed - run: | - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" - git add pnpm-lock.yaml - if git diff --staged --quiet; then - echo "Lockfile already up to date." - else - git commit -m "chore: fix pnpm lockfile catalog specifiers" - git push - fi