-
Notifications
You must be signed in to change notification settings - Fork 45
45 lines (38 loc) · 1.05 KB
/
cron.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
38
39
40
41
42
43
44
45
name: Update library
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
on:
schedule:
- cron: "0 0 * * *"
push:
paths-ignore:
- "src/**"
branches:
- main
workflow_dispatch:
jobs:
check-proposals:
name: Check if library is up to date
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: "yarn"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Generate library
run: yarn generate
- name: Create Pull Request
uses: peter-evans/create-pull-request@712add83f26c1e359c046a6ca3dd677fb7017626
with:
committer: Cache-bot <noreply@github.com>
commit-message: "chore(cache): automated cache update"
delete-branch: true
title: "chore(cache): automated cache update"