Skip to content

Upgrade Dependencies #130

Upgrade Dependencies

Upgrade Dependencies #130

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@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
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 }})"