Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Adding changes to README.md #63

Adding changes to README.md

Adding changes to README.md #63

# Fix for lack of pnpm support in Dependabot
# https://github.com/dependabot/dependabot-core/issues/1736
# kindly shared by @Purpzie: https://gist.github.com/Purpzie/8ed86ae38c73f440881bbee0523a324b
name: Fix Dependabot
on:
pull_request_target:
permissions: read-all
jobs:
update-lockfile:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
permissions:
pull-requests: write
contents: write
steps:
- uses: pnpm/action-setup@v2.2.4
with:
version: 7
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- run: pnpm i --lockfile-only
- run: |
git config --global user.name github-actions[bot]
git config --global user.email github-actions[bot]@users.noreply.github.com
git add pnpm-lock.yaml
git commit -m "build(deps): update pnpm-lock.yaml"
git push