File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches : [ master ]
4
+ schedule :
5
+ - cron : ' 0 0 * * 1'
6
+ workflow_dispatch : # Enables on-demand/manual triggering
7
+ jobs :
8
+ job :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v4
12
+ - run : git submodule update --init --depth=0
13
+ - uses : actions/setup-go@v5
14
+ with :
15
+ go-version-file : ' go.mod'
16
+ - name : make tflint in tools/magic-modules
17
+ run : |
18
+ cd tools/magic-modules
19
+ make tflint
20
+ env :
21
+ OUTPUT_PATH : ${{ github.workspace }}/rules/magicmodules
22
+ - uses : peter-evans/create-pull-request@v7
23
+ with :
24
+ commit-message : |
25
+ Update Magic Modules
26
+ title : Update Magic Modules
27
+ delete-branch : true
28
+ body : |
29
+ This is an automated pull request triggered by GitHub Actions. To trigger check runs, close and re-open it.
You can’t perform that action at this time.
0 commit comments