Skip to content

Commit 422be4a

Browse files
feat: updated example path and readme paramters
1 parent bb6899f commit 422be4a

File tree

2 files changed

+11
-48
lines changed

2 files changed

+11
-48
lines changed

.github/dependabot.yml

+1-1
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

.github/workflows/readme.yml

+10-47
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,15 @@
1-
name: 'Create README.md file'
1+
2+
name: Readme Workflow
23
on:
34
push:
45
branches:
56
- master
7+
paths-ignore:
8+
- 'README.md'
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/[email protected]'
21-
with:
22-
actions_subcommand: 'readme'
23-
github_token: '${{ secrets.GITHUB }}'
24-
env:
25-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26-
27-
- name: 'pre-commit check errors'
28-
uses: pre-commit/[email protected]
29-
continue-on-error: true
30-
31-
- name: 'pre-commit fix erros'
32-
uses: pre-commit/[email protected]
33-
continue-on-error: true
34-
35-
- name: 'push readme'
36-
uses: 'clouddrove/[email protected]'
37-
continue-on-error: true
38-
with:
39-
actions_subcommand: 'push'
40-
env:
41-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42-
43-
- name: 'Slack Notification'
44-
uses: clouddrove/action-slack@v2
45-
with:
46-
status: ${{ job.status }}
47-
fields: repo,author
48-
author_name: 'CloudDrove'
49-
env:
50-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
51-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
52-
if: always()
11+
README:
12+
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected]
13+
secrets:
14+
TOKEN : ${{ secrets.GITHUB }}
15+
SLACK_WEBHOOK_TERRAFORM: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }}

0 commit comments

Comments
 (0)