-
Notifications
You must be signed in to change notification settings - Fork 4
47 lines (38 loc) · 1.04 KB
/
refresh-donjon-blog.yml
File metadata and controls
47 lines (38 loc) · 1.04 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
45
46
47
name: Refresh Donjon blog data
on:
schedule:
- cron: '0 * * * *'
workflow_dispatch: {}
permissions:
contents: write
pull-requests: write
concurrency:
group: refresh-donjon-blog
cancel-in-progress: false
jobs:
refresh:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Refresh blog data
run: npm run fetch:donjon-blog
- name: Create pull request
uses: peter-evans/create-pull-request@v7
with:
commit-message: 'chore: refresh Donjon blog data'
branch: automation/refresh-donjon-blog
delete-branch: true
title: 'chore: refresh Donjon blog data'
body: |
## Summary
- Refresh Donjon blog article list from the Ledger blog category.
## Test plan
- Not run (data refresh only).