Skip to content

Commit d7151d2

Browse files
fix: update workflow latest version and change _example name
1 parent 339e0fe commit d7151d2

File tree

13 files changed

+30
-59
lines changed

13 files changed

+30
-59
lines changed

.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+
paths-ignore:
7+
- 'README.md'
8+
workflow_dispatch:
69
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/[email protected]'
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/[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+
assignee:
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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ jobs:
88
tf-checks-generate-certificate-dns-example:
99
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected]
1010
with:
11-
working_directory: './_example/generate-certificate-dns/'
11+
working_directory: './examples/generate-certificate-dns/'
1212
tf-checks-generate-certificate-email-example:
1313
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected]
1414
with:
15-
working_directory: './_example/generate-certificate-email/'
15+
working_directory: './examples/generate-certificate-email/'
1616
tf-checks-import-certificate-example:
1717
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected]
1818
with:
19-
working_directory: './_example/import-certificate/'
19+
working_directory: './examples/import-certificate/'
2020

2121

2222

README.yaml

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

2831
prerequesties:
29-
- name: Terraform 1.5.3
32+
- name: Terraform
3033
url: https://learn.hashicorp.com/terraform/getting-started/install.html
31-
# description of this project
34+
version: ">= 1.6.6"
35+
36+
providers:
37+
- name: aws
38+
url: https://aws.amazon.com/
39+
version: ">= 5.31.0"
40+
41+
module_dependencies:
42+
- name: Labels Module
43+
url: https://github.com/clouddrove/terraform-aws-labels
44+
description: Provides resource tagging.
45+
3246
description: |-
3347
This terraform module is used for requesting or importing SSL/TLS certificate with validation.
3448
35-
# extra content
36-
include:
37-
- "terraform.md"
38-
3949
# How to use this project
4050
usage : |-
4151
Here are some examples of how you can use this module in your inventory structure:
File renamed without changes.
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)