Skip to content

Update Transitive Dependencies #81

Update Transitive Dependencies

Update Transitive Dependencies #81

name: Update Transitive Dependencies
on:
schedule:
- cron: "15 11 * * 0" # weekly, on Sunday morning (UTC)
workflow_dispatch: null
jobs:
update:
name: Tests
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
- name: remove and re-create lock file
run: |
rm pnpm-lock.yaml
pnpm install
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.ZORGBORT_TOKEN }}
commit-message: Update Transitive Dependencies
title: Update Transitive Dependencies
body: |
- Dependency updates
Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
branch: auto-update-dependencies
labels: dependencies
- name: Enable Pull Request Automerge
if: steps.cpr.outputs.pull-request-operation == 'created'
run: gh pr merge --merge --auto ${{ steps.cpr.outputs.pull-request-number }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}