Skip to content

Commit 393a3bc

Browse files
committed
fix:renamed _examples to examples and referenced it
1 parent 1d9ec1d commit 393a3bc

File tree

9 files changed

+15
-52
lines changed

9 files changed

+15
-52
lines changed

.github/dependabot.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ updates:
3030
open-pull-requests-limit: 3
3131

3232
- package-ecosystem: "terraform" # See documentation for possible values
33-
directory: "/_example/complete" # Location of package manifests
33+
directory: "/examples/complete" # Location of package manifests
3434
schedule:
3535
interval: "weekly"
3636
# Add assignees
@@ -43,7 +43,7 @@ updates:
4343
open-pull-requests-limit: 3
4444

4545
- package-ecosystem: "terraform" # See documentation for possible values
46-
directory: "/_example/basic" # Location of package manifests
46+
directory: "/examples/basic" # Location of package manifests
4747
schedule:
4848
interval: "weekly"
4949
# Add assignees

.github/workflows/readme.yml

+11-48
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,16 @@
1-
name: 'Create README.md file'
1+
2+
name: Readme Workflow
23
on:
34
push:
45
branches:
56
- master
6-
7+
paths-ignore:
8+
- 'README.md'
9+
- 'docs/**'
10+
workflow_dispatch:
711
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@v5
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()
12+
README:
13+
uses: clouddrove/github-shared-workflows/.github/workflows/readme.yml@master
14+
secrets:
15+
TOKEN : ${{ secrets.GITHUB }}
16+
SLACK_WEBHOOK_TERRAFORM: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }}

.github/workflows/tf-checks.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
complete-example:
99
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected]
1010
with:
11-
working_directory: './_example/complete/'
11+
working_directory: './examples/complete/'
1212

1313
basic-example:
1414
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected]
1515
with:
16-
working_directory: './_example/basic/'
16+
working_directory: './examples/basic/'
1717

1818

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)