Skip to content

Commit 36448c6

Browse files
authored
feat: updated example path and readme paramters
1 parent 2188084 commit 36448c6

File tree

8 files changed

+24
-56
lines changed

8 files changed

+24
-56
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ updates:
1010
schedule:
1111
interval: "weekly"
1212
- package-ecosystem: "terraform" # See documentation for possible values
13-
directory: "_example/" # Location of package manifests
13+
directory: "examples/" # Location of package manifests
1414
schedule:
1515
interval: "weekly"

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ jobs:
88
secrets:
99
GITHUB: ${{ secrets.GITHUB }}
1010
with:
11-
tfcheck: '_example / Check code format'
11+
tfcheck: 'examples / Check code format'
1212
...

.github/workflows/readme.yml

Lines changed: 9 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,14 @@
1-
name: 'Create README.md file'
1+
name: Readme Workflow
22
on:
33
push:
44
branches:
55
- master
6-
6+
paths-ignore:
7+
- 'README.md'
8+
workflow_dispatch:
79
jobs:
8-
readme-create:
9-
name: 'readme-create'
10-
runs-on: ubuntu-latest
11-
steps:
12-
- name: 'Checkout'
13-
uses: actions/checkout@master
14-
15-
- name: 'Set up Python 3.7'
16-
uses: actions/setup-python@v4
17-
with:
18-
python-version: '3.x'
19-
20-
- name: 'create readme'
21-
uses: 'clouddrove/[email protected]'
22-
with:
23-
actions_subcommand: 'readme'
24-
github_token: '${{ secrets.GITHUB }}'
25-
env:
26-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27-
28-
- name: 'pre-commit check errors'
29-
uses: pre-commit/[email protected]
30-
continue-on-error: true
31-
32-
- name: 'pre-commit fix erros'
33-
uses: pre-commit/[email protected]
34-
continue-on-error: true
35-
36-
- name: 'push readme'
37-
uses: 'clouddrove/[email protected]'
38-
continue-on-error: true
39-
with:
40-
actions_subcommand: 'push'
41-
env:
42-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43-
44-
- name: 'Slack Notification'
45-
uses: clouddrove/action-slack@v2
46-
with:
47-
status: ${{ job.status }}
48-
fields: repo,author
49-
author_name: 'CloudDrove'
50-
env:
51-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
52-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
53-
if: always()
10+
README:
11+
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected]
12+
secrets:
13+
TOKEN : ${{ secrets.GITHUB }}
14+
SLACK_WEBHOOK_TERRAFORM: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }}

.github/workflows/tf-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ jobs:
88
_example:
99
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected]
1010
with:
11-
working_directory: './_example/'
11+
working_directory: './examples/'

README.yaml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,24 @@ badges:
2929
url: "https://github.com/clouddrove/terraform-aws-ses/actions/workflows/terraform.yml"
3030

3131
prerequesties:
32-
- name: Terraform 1.4.6
32+
- name: Terraform
3333
url: https://learn.hashicorp.com/terraform/getting-started/install.html
34+
version: ">= 1.6.5"
35+
36+
providers:
37+
- name: aws
38+
url: https://aws.amazon.com/
39+
version: ">= 5.30.0"
40+
41+
module_dependencies:
42+
- name: Labels Module
43+
url: https://github.com/clouddrove/terraform-aws-labels
44+
description: Provides resource tagging.
3445

3546
# description of this project
3647
description: |-
3748
Terraform module to create an SES Identity with SES IAM user on AWS.
3849
39-
# extra content
40-
include:
41-
- "terraform.md"
42-
4350
# How to use this project
4451
usage : |-
4552
### Simple Example
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)