forked from inversify/InversifyJS
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (33 loc) · 949 Bytes
/
readiing-time.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
name: Reading Time
on:
workflow_dispatch:
push:
branches:
- master
paths:
- "**.md"
jobs:
calculate-reading-time:
runs-on: ubuntu-latest
name: Calculate Reading Time
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Calculate & Prepend Reading Time
uses: harunrst/[email protected]
with:
strategy: all
- name: Commit Changes
uses: EndBug/add-and-commit@v9
with:
message: Edited markdown files with reading times.
push: false
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
title: Update markdown files with reading time.
body: Auto-generated Pull Request by [reading-time-action](https://github.com/harunrst/reading-time-action).
branch: reading-time-action