File tree Expand file tree Collapse file tree 5 files changed +53
-7
lines changed Expand file tree Collapse file tree 5 files changed +53
-7
lines changed Original file line number Diff line number Diff line change 1- name : " Validate PR title"
1+ name : ' Validate PR title'
22
33on :
44 pull_request_target :
Original file line number Diff line number Diff line change 77 - main
88 - master
99 paths :
10+ - ' **/*.tpl'
1011 - ' **/*.py'
1112 - ' **/*.tf'
13+ - ' .github/workflows/release.yml'
1214
1315jobs :
1416 release :
1517 name : Release
1618 runs-on : ubuntu-latest
19+ # Skip running release workflow on forks
20+ if : github.repository_owner == 'terraform-aws-modules'
1721 steps :
1822 - name : Checkout
1923 uses : actions/checkout@v2
2832 extra_plugins : |
2933 @semantic-release/changelog@6.0.0
3034 @semantic-release/git@10.0.0
35+ conventional-changelog-conventionalcommits@4.6.3
3136 env :
3237 GITHUB_TOKEN : ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : ' Mark or close stale issues and PRs'
2+ on :
3+ schedule :
4+ - cron : ' 0 0 * * *'
5+
6+ jobs :
7+ stale :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/stale@v4
11+ with :
12+ repo-token : ${{ secrets.GITHUB_TOKEN }}
13+ # Staling issues and PR's
14+ days-before-stale : 30
15+ stale-issue-label : stale
16+ stale-pr-label : stale
17+ stale-issue-message : |
18+ This issue has been automatically marked as stale because it has been open 30 days
19+ with no activity. Remove stale label or comment or this issue will be closed in 10 days
20+ stale-pr-message : |
21+ This PR has been automatically marked as stale because it has been open 30 days
22+ with no activity. Remove stale label or comment or this PR will be closed in 10 days
23+ # Not stale if have this labels or part of milestone
24+ exempt-issue-labels : bug,wip,on-hold
25+ exempt-pr-labels : bug,wip,on-hold
26+ exempt-all-milestones : true
27+ # Close issue operations
28+ # Label will be automatically removed if the issues are no longer closed nor locked.
29+ days-before-close : 10
30+ delete-branch : true
31+ close-issue-message : This issue was automatically closed because of stale in 10 days
32+ close-pr-message : This PR was automatically closed because of stale in 10 days
Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/antonbabenko/pre-commit-terraform
3- rev : v1.61.0
3+ rev : v1.62.3
44 hooks :
55 - id : terraform_fmt
66 - id : terraform_validate
2323 - ' --args=--only=terraform_standard_module_structure'
2424 - ' --args=--only=terraform_workspace_remote'
2525 - repo : https://github.com/pre-commit/pre-commit-hooks
26- rev : v4.0.1
26+ rev : v4.1.0
2727 hooks :
2828 - id : check-merge-conflict
2929 - id : end-of-file-fixer
Original file line number Diff line number Diff line change 55 ],
66 "ci" : false ,
77 "plugins" : [
8- " @semantic-release/commit-analyzer" ,
9- " @semantic-release/release-notes-generator" ,
8+ [
9+ " @semantic-release/commit-analyzer" ,
10+ {
11+ "preset" : " conventionalcommits"
12+ }
13+ ],
14+ [
15+ " @semantic-release/release-notes-generator" ,
16+ {
17+ "preset" : " conventionalcommits"
18+ }
19+ ],
1020 [
1121 " @semantic-release/github" ,
1222 {
13- "successComment" :
14- " This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version ${nextRelease.version} :tada:" ,
23+ "successComment" : " This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version ${nextRelease.version} :tada:" ,
1524 "labels" : false ,
1625 "releasedLabels" : false
1726 }
You can’t perform that action at this time.
0 commit comments