Skip to content

Commit 8ffcb28

Browse files
Merge pull request #38 from clouddrove/feat/update-modules
feat: updated example path and readme paramters
2 parents 0233c81 + b4dd81b commit 8ffcb28

File tree

11 files changed

+30
-57
lines changed

11 files changed

+30
-57
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ updates:
2828
open-pull-requests-limit: 3
2929

3030
- package-ecosystem: "terraform" # See documentation for possible values
31-
directory: "/_example/private_ecr" # Location of package manifests
31+
directory: "/examples/private_ecr" # Location of package manifests
3232
schedule:
3333
interval: "weekly"
3434
# Add assignees
@@ -41,7 +41,7 @@ updates:
4141
open-pull-requests-limit: 3
4242

4343
- package-ecosystem: "terraform" # See documentation for possible values
44-
directory: "/_example/public_ecr" # Location of package manifests
44+
directory: "/examples/public_ecr" # Location of package manifests
4545
schedule:
4646
interval: "weekly"
4747
# Add assignees

.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: 'private_ecr / Check code format'
11+
tfcheck: 'examples/private_ecr / Check code format'
1212
...

.github/workflows/readme.yml

Lines changed: 10 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,15 @@
1-
name: 'Create README.md file'
1+
name: Readme Workflow
22
on:
33
push:
44
branches:
55
- master
6+
paths-ignore:
7+
- 'README.md'
8+
- 'docs/**'
9+
workflow_dispatch:
610
jobs:
7-
readme:
8-
name: 'readme-create'
9-
runs-on: ubuntu-latest
10-
steps:
11-
- name: 'Checkout'
12-
uses: actions/checkout@master
13-
14-
- name: 'Set up Python 3.7'
15-
uses: actions/setup-python@v5
16-
with:
17-
python-version: '3.x'
18-
19-
- name: 'create readme'
20-
uses: 'clouddrove/github-actions@9.0.3'
21-
with:
22-
actions_subcommand: 'readme'
23-
github_token: '${{ secrets.GITHUB }}'
24-
env:
25-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26-
27-
28-
- name: 'pre-commit check errors'
29-
uses: pre-commit/action@v3.0.1
30-
continue-on-error: true
31-
32-
- name: 'pre-commit fix erros'
33-
uses: pre-commit/action@v3.0.1
34-
continue-on-error: true
35-
36-
- name: 'push readme'
37-
uses: 'clouddrove/github-actions@9.0.3'
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()
11+
README:
12+
uses: clouddrove/github-shared-workflows/.github/workflows/readme.yml@1.2.4
13+
secrets:
14+
TOKEN : ${{ secrets.GITHUB }}
15+
SLACK_WEBHOOK_TERRAFORM: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }}

.github/workflows/tf-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
private_ecr:
99
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.2.4
1010
with:
11-
working_directory: './_example/private_ecr/'
11+
working_directory: './examples/private_ecr/'
1212
public_ecr:
1313
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.2.4
1414
with:
15-
working_directory: './_example/public_ecr/'
15+
working_directory: './examples/public_ecr/'

README.yaml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,29 @@ badges:
2424
- name: "Licence"
2525
image: "https://img.shields.io/badge/License-APACHE-blue.svg"
2626
url: "LICENSE.md"
27+
- name: "Changelog"
28+
image: "https://img.shields.io/badge/Changelog-blue"
29+
url: "CHANGELOG.md"
2730

2831
prerequesties:
29-
- name: Terraform 1.5.4
32+
- name: Terraform
3033
url: https://learn.hashicorp.com/terraform/getting-started/install.html
34+
version: ">= 1.5.7"
35+
36+
providers:
37+
- name: aws
38+
url: https://aws.amazon.com/
39+
version: ">= 5.20.0"
40+
41+
module_dependencies:
42+
- name: Labels Module
43+
url: https://github.com/clouddrove/terraform-aws-labels
44+
description: Provides resource tagging.
3145

3246
# description of this project
3347
description: |-
3448
This terraform module is used to create ECR on AWS.
3549
36-
# extra content
37-
include:
38-
- "terraform.md"
3950
4051
# How to use this project
4152
usage : |-
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)