Skip to content

chore(deps): update all devdependencies #239

chore(deps): update all devdependencies

chore(deps): update all devdependencies #239

Workflow file for this run

name: Update Dist
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
jobs:
update-dist:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.MH4GF_PAT }}
- uses: MH4GF/shared-config/.github/composite-actions/setup-pnpm@main
- run: pnpm package
- name: Commit and Push if there are changes
run: |
git remote set-url origin https://github-actions:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git add .
git diff --staged --quiet || git commit -m 'update dist'
git push