-
-
Notifications
You must be signed in to change notification settings - Fork 2k
37 lines (31 loc) 路 1.15 KB
/
README.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
name : README
on:
pull_request:
types : [ opened , synchronize ]
paths:
- docs/Helpers.yaml
- docs/Sponsors.yaml
- docs/Template.md
jobs:
Update-README:
runs-on : ubuntu-latest
steps:
- uses : denoland/setup-deno@v1
with:
deno-version : 1.23.4
- uses : actions/checkout@v3
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- name : Run README updater
run : 'deno run
--allow-read
--allow-write
--importmap=scripts/README/Imports.json
scripts/README/Updater.js'
- name : Commit generated README
uses : EndBug/add-and-commit@v9
with:
default_author : github_actor
message : 'Regenerated README'
add: 'README.md'