File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Lint
3
3
on :
4
4
pull_request :
5
5
branches :
6
- - main
6
+ - master
7
7
8
8
# cancel workflow runs in progress when a new commit comes through
9
9
concurrency :
61
61
name : tfdocs
62
62
working-directory : .
63
63
64
- - run : terraform-docs markdown table --output-file README.md --output-mode inject .
65
- name : tfdocs cloudwatch-logging
66
- working-directory : ./modules/cloudwatch-logging
67
-
68
64
- name : commit changes
69
65
env :
70
66
GH_TOKEN : ${{ github.token }}
73
69
git config --global user.email "[email protected] "
74
70
git config --global user.name "DevOps"
75
71
git add README.md
76
- git add modules/cloudwatch-logging/README.md
77
72
export CHANGES=$(git diff --cached)
78
73
if [ -n "$CHANGES" ]; then
79
74
git commit -m "Update READMEs with Terraform Docs."
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Create Release Version
3
3
on :
4
4
push :
5
5
branches :
6
- - main
6
+ - master
7
7
8
8
jobs :
9
9
release :
You can’t perform that action at this time.
0 commit comments