upgrade-site #52
This file contains 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
# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". | |
name: upgrade-site | |
on: | |
schedule: | |
- cron: 0 5 * * 1 | |
workflow_dispatch: {} | |
jobs: | |
upgradeSite: | |
name: upgrade-site | |
runs-on: ubuntu-latest | |
permissions: | |
actions: write | |
contents: read | |
id-token: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
- run: yarn install --check-files --frozen-lockfile | |
working-directory: site | |
- run: yarn upgrade | |
working-directory: site | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
token: ${{ secrets.PROJEN_GITHUB_TOKEN }} | |
commit-message: "chore: upgrade site" | |
branch: auto/projen-upgrade | |
title: "chore: upgrade site" | |
body: This PR upgrades site | |
labels: auto-merge, auto-approve | |
author: github-actions <[email protected]> | |
committer: github-actions <[email protected]> | |
signoff: true |