File tree 2 files changed +15
-1
lines changed
2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 8
8
jobs :
9
9
files-up-to-date :
10
10
runs-on : ubuntu-latest
11
+ permissions :
12
+ pull-requests : write
13
+ contents : write
11
14
steps :
12
15
- name : Checkout commit
13
16
uses : actions/checkout@v3
17
+ with :
18
+ ref : ${{ github.event.pull_request.head.ref }}
14
19
15
20
- name : Read .nvmrc
16
21
run : echo ::set-output name=NVMRC::$(cat .nvmrc)
28
33
- name : " `yarn format` changes committed?"
29
34
run : yarn format:check
30
35
36
+ - name : Generate README
37
+ run : |
38
+ yarn gen-readme
39
+ git config --global user.name github-actions[bot]
40
+ git config --global user.email github-actions[bot]@users.noreply.github.com
41
+ git add README.md
42
+ git commit -m "Update README.md"
43
+ git push
44
+
31
45
- name : " `yarn gen-readme` changes committed?"
32
46
run : |
33
47
yarn gen-readme
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ This guide will always assume you are starting with the latest TypeScript and Re
15
15
## VS Code Extensions
16
16
17
17
- refactoring help https://marketplace.visualstudio.com/items?itemName=paulshen.paul-typescript-toolkit
18
- - R+TS Code Snippets (there are a few...)
18
+ - React+TypeScript Code Snippets (there are a few...)
19
19
- https://marketplace.visualstudio.com/items?itemName=infeng.vscode-react-typescript
20
20
- https://www.digitalocean.com/community/tutorials/the-best-react-extension-for-vs-code
21
21
- TypeScript official extension https://code.visualstudio.com/docs/languages/typescript
You can’t perform that action at this time.
0 commit comments