Upgrade Dependencies #145
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Upgrade Dependencies | |
| on: | |
| workflow_dispatch: {} | |
| schedule: | |
| - cron: 0 9 * * 2 # every Tuesday at 9am | |
| jobs: | |
| upgrade: | |
| name: Upgrade | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 | |
| with: | |
| node-version: 18.x | |
| - name: Install dependencies | |
| run: yarn install --check-files --frozen-lockfile | |
| - name: Upgrade dependencies | |
| run: npx projen upgrade | |
| - 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 }})" |