Skip to content

Upgrade Dependencies #138

Upgrade Dependencies

Upgrade Dependencies #138

Workflow file for this run

---
name: Upgrade Dependencies
on:
workflow_dispatch: {}
schedule:
- cron: 0 9 * * 2 # every Tuesday at 9am
permissions:
contents: write
pull-requests: write
jobs:
upgrade:
name: Upgrade
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- name: Setup Node.js
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444
with:
node-version: 18.x
- name: Install dependencies
run: yarn install --check-files --frozen-lockfile
- name: Upgrade dependencies
run: npx projen upgrade
- name: Set git identity & add files to commit
run: |
git config --local user.email [email protected]
git config --local user.name svc-apix-bot
git add .
- name: Create Pull Request
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e
with:
token: ${{ secrets.APIX_BOT_PAT }}
title: "chore: Upgrade dependencies"
commit-message: "Upgrade dependencies"
delete-branch: true
branch: upgrade-dependencies
body: "Upgrades project dependencies. See details in [workflow run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})"