Skip to content

Commit 32d8469

Browse files
feat: updated example path and readme parameters (#61)
* feat: updated example path and readme parameters * feat- Updated Path for Ignore File --------- Co-authored-by: Vishwajit Nagulkar <119565952+VishwajitNagulkar@users.noreply.github.com>
1 parent 42e5ae3 commit 32d8469

File tree

20 files changed

+32
-56
lines changed

20 files changed

+32
-56
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ updates:
1616
reviewers:
1717
- "approvers"
1818
- package-ecosystem: "terraform" # See documentation for possible values
19-
directory: "_examples/complete" # Location of package manifests
19+
directory: "examples/complete" # Location of package manifests
2020
schedule:
2121
interval: "weekly"
2222
# Add assignees
@@ -26,7 +26,7 @@ updates:
2626
reviewers:
2727
- "approvers"
2828
- package-ecosystem: "terraform" # See documentation for possible values
29-
directory: "_examples/vpc_link_api" # Location of package manifests
29+
directory: "examples/vpc_link_api" # Location of package manifests
3030
schedule:
3131
interval: "weekly"
3232
# Add assignees

.github/workflows/readme.yml

Lines changed: 10 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,15 @@
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+
- 'docs/**'
9+
workflow_dispatch:
710
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/github-actions@v9.0.2'
22-
with:
23-
actions_subcommand: 'readme'
24-
github_token: '${{ secrets.GITHUB }}'
25-
env:
26-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27-
28-
29-
- name: 'pre-commit check errors'
30-
uses: pre-commit/action@v3.0.0
31-
continue-on-error: true
32-
33-
- name: 'pre-commit fix erros'
34-
uses: pre-commit/action@v3.0.0
35-
continue-on-error: true
36-
37-
- name: 'push readme'
38-
uses: 'clouddrove/github-actions@v9.0.2'
39-
continue-on-error: true
40-
with:
41-
actions_subcommand: 'push'
42-
env:
43-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44-
45-
- name: 'Slack Notification'
46-
uses: clouddrove/action-slack@v2
47-
with:
48-
status: ${{ job.status }}
49-
fields: repo,author
50-
author_name: 'CloudDrove'
51-
env:
52-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
53-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
54-
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
@@ -9,9 +9,9 @@ jobs:
99
tf-checks-complete-example:
1010
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.0.9
1111
with:
12-
working_directory: './_examples/complete/'
12+
working_directory: './examples/complete/'
1313
tf-checks-basic-example:
1414
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.0.9
1515
with:
16-
working_directory: './_examples/vpc_link_api/'
16+
working_directory: './examples/vpc_link_api/'
1717
...

README.yaml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,28 @@ 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

31+
prerequesties:
32+
- name: Terraform
33+
url: https://learn.hashicorp.com/terraform/getting-started/install.html
34+
version: ">= 1.6.1"
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.
45+
2846
# description of this project
2947
description: |-
3048
Terraform module api-gateway-v2 to create new modules using this as baseline
31-
# extra content
32-
include:
33-
- "terraform.md"
3449
3550
# How to use this project
3651
# How to use this project
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)