forked from MALSync/MALSync
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (39 loc) · 1.17 KB
/
Copy pathdescriptions.yml
File metadata and controls
44 lines (39 loc) · 1.17 KB
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
name: "descriptions"
on:
schedule:
- cron: '0 10 * * 0'
workflow_dispatch:
jobs:
main:
name: main
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
with:
ref: master
persist-credentials: false
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
with:
node-version: '22.x'
- name: Build
run: |
npm ci
npm run build:chibiTypes
env:
PUPPETEER_SKIP_DOWNLOAD: 'true'
- name: Run
run: npm run build:descriptions
env:
CI_MODE: travis
SIMKL_API_ID: ${{ secrets.SIMKL_API_ID }}
SIMKL_API_SECRET: ${{ secrets.SIMKL_API_SECRET }}
MANGABAKA_API_ID: ${{ secrets.MANGABAKA_API_ID }}
MANGABAKA_API_SECRET: ${{ secrets.MANGABAKA_API_SECRET }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676 # v7
with:
commit-message: Update descriptions
branch: auto-descriptions
delete-branch: true
title: 'Update descriptions'
body: 'Automatically updated Description'