File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Update Documentation
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - main
7
+ paths :
8
+ - ' action.yml'
9
+
10
+ jobs :
11
+ build :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+
16
+ - run : npm install -g action-docs
17
+
18
+ - run : action-docs -u
19
+
20
+ - name : Update README.md file
21
+ uses : test-room-7/action-update-file@v1
22
+ if : github.event_name == 'pull_request'
23
+ with :
24
+ file-path : README.md
25
+ commit-msg : Update github actions documentation
26
+ github-token : ${{ github.token }}
27
+ branch : ${{ github.head_ref }}
Original file line number Diff line number Diff line change @@ -13,12 +13,14 @@ outputs:
13
13
paths_changed :
14
14
description : >
15
15
List of changed paths, example:
16
+
16
17
```
17
18
["dist", "dist/data"]
18
19
```
19
20
file_changed :
20
21
description : >
21
22
List of changed files, example:
23
+
22
24
```
23
25
["dist/main.tf", "dist/index.js"]
24
26
```
You can’t perform that action at this time.
0 commit comments