File tree 1 file changed +4
-37
lines changed
1 file changed +4
-37
lines changed Original file line number Diff line number Diff line change 1
- name : " Validate Docs and Go Code "
1
+ name : " Pull Request "
2
2
on : pull_request
3
3
4
4
jobs :
5
- tfplugindocs :
5
+ docs :
6
+ name : " Ensure 'make docs' has been run"
6
7
runs-on : ubuntu-latest
7
8
steps :
8
9
- name : Checkout repo
18
19
name : Validate No Changes
19
20
run : |
20
21
git diff --exit-code
21
- - name : Issue Comment on PR
22
- if : steps.docs-need-updating.output.outcome != 'success'
23
- uses :
thollander/[email protected]
24
- with :
25
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
- message : |
27
- :warning: Terraform Provider Docs need updating!
28
-
29
- Run:
30
-
31
- ```bash
32
- $ make docs
33
- ```
34
-
35
- Then commit the changes.
36
- pr_number : ${{ github.event.pull_request.number }}
37
- comment_tag : docs-need-updating
38
-
39
22
gofmt :
23
+ name : " Ensure 'make fmt' has been run"
40
24
runs-on : ubuntu-latest
41
25
steps :
42
26
- name : Checkout repo
50
34
name : Validate No Changes
51
35
run : |
52
36
git diff --exit-code
53
- - name : Issue Comment on PR
54
- if : steps.go-needs-formatting.output.outcome != 'success'
55
- uses :
thollander/[email protected]
56
- with :
57
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58
- message : |
59
- :warning: Go code needs formatting!
60
-
61
- Run:
62
-
63
- ```bash
64
- $ make fmt
65
- ```
66
-
67
- Then commit the changes.
68
- pr_number : ${{ github.event.pull_request.number }}
69
- comment_tag : go-needs-formatting
You can’t perform that action at this time.
0 commit comments