Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9b372f1

Browse files
committed
add reading time action
1 parentd016721 commit9b372f1

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

‎.github/workflows/reading-time.yml‎

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name:Reading Time
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
-master
8+
paths:
9+
-"**.md"
10+
11+
jobs:
12+
calculate-reading-time:
13+
runs-on:ubuntu-latest
14+
name:Calculate Reading Time
15+
permissions:
16+
contents:write
17+
pull-requests:write
18+
steps:
19+
-name:Checkout
20+
uses:actions/checkout@v3
21+
22+
-name:Calculate & Prepend Reading Time
23+
uses:harunrst/reading-time-action@v1.0
24+
with:
25+
strategy:all
26+
27+
-name:Commit Changes
28+
uses:EndBug/add-and-commit@v9
29+
with:
30+
message:Edited markdown files with reading times.
31+
push:false
32+
33+
-name:Create Pull Request
34+
uses:peter-evans/create-pull-request@v4
35+
with:
36+
title:Update markdown files with reading time.
37+
body:Auto-generated Pull Request by [reading-time-action](https://github.com/harunrst/reading-time-action).
38+
branch:reading-time-action

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp