-
Notifications
You must be signed in to change notification settings - Fork 8
37 lines (36 loc) · 1.14 KB
/
upgrade-site.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# ~~ 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: src/resources/server/assets/site
- run: yarn upgrade
working-directory: src/resources/server/assets/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