File tree Expand file tree Collapse file tree 1 file changed +4
-37
lines changed Expand file tree Collapse file tree 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 "
22on : pull_request
33
44jobs :
5- tfplugindocs :
5+ docs :
6+ name : " Ensure 'make docs' has been run"
67 runs-on : ubuntu-latest
78 steps :
89 - name : Checkout repo
1819 name : Validate No Changes
1920 run : |
2021 git diff --exit-code
21- - name : Issue Comment on PR
22- if : steps.docs-need-updating.output.outcome != 'success'
23- uses : thollander/actions-comment-pull-request@v2.3.1
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-
3922 gofmt :
23+ name : " Ensure 'make fmt' has been run"
4024 runs-on : ubuntu-latest
4125 steps :
4226 - name : Checkout repo
5034 name : Validate No Changes
5135 run : |
5236 git diff --exit-code
53- - name : Issue Comment on PR
54- if : steps.go-needs-formatting.output.outcome != 'success'
55- uses : thollander/actions-comment-pull-request@v2.3.1
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