-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added tflint and tfchekcs workfow
- Loading branch information
Showing
17 changed files
with
224 additions
and
265 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,2 @@ | ||
.github/* @clouddrove/approvers | ||
|
||
* @clouddrove/clouddrovians @clouddrove/approvers | ||
|
||
.github/mergify.yml @clouddrove/admins | ||
.github/CODEOWNERS @clouddrove/admins | ||
# These owners will be the default owners for everything in the repo. | ||
* @anmolnagpal @clouddrove-ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Auto Assign PRs | ||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened] | ||
|
||
workflow_dispatch: | ||
jobs: | ||
assignee: | ||
uses: clouddrove/github-shared-workflows/.github/workflows/auto_assignee.yml@master | ||
secrets: | ||
GITHUB: ${{ secrets.GITHUB }} | ||
with: | ||
assignees: 'clouddrove-ci' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: Auto merge | ||
on: | ||
pull_request: | ||
jobs: | ||
auto-merge: | ||
uses: clouddrove/github-shared-workflows/.github/workflows/auto_merge.yml@master | ||
secrets: | ||
GITHUB: ${{ secrets.GITHUB }} | ||
with: | ||
tfcheck: 'example-complete / Check code format' | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,15 @@ | ||
name: 'Create README.md file' | ||
name: Readme Workflow | ||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
paths-ignore: | ||
- 'README.md' | ||
- 'docs/**' | ||
workflow_dispatch: | ||
jobs: | ||
readme-create: | ||
name: 'readme-create' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Checkout' | ||
uses: actions/checkout@master | ||
|
||
- name: 'Set up Python 3.7' | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: 'create readme' | ||
uses: 'clouddrove/github-actions@v9.0.2' | ||
with: | ||
actions_subcommand: 'readme' | ||
github_token: '${{ secrets.GITHUB }}' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
||
- name: 'pre-commit check errors' | ||
uses: pre-commit/action@v2.0.0 | ||
continue-on-error: true | ||
|
||
- name: 'pre-commit fix erros' | ||
uses: pre-commit/action@v2.0.0 | ||
continue-on-error: true | ||
|
||
- name: 'push readme' | ||
uses: 'clouddrove/github-actions@v9.0.2' | ||
continue-on-error: true | ||
with: | ||
actions_subcommand: 'push' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: 'Slack Notification' | ||
uses: clouddrove/action-slack@v2 | ||
with: | ||
status: ${{ job.status }} | ||
fields: repo,author | ||
author_name: 'CloudDrove' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required | ||
if: always() | ||
README: | ||
uses: clouddrove/github-shared-workflows/.github/workflows/readme.yml@master | ||
secrets: | ||
TOKEN : ${{ secrets.GITHUB }} | ||
SLACK_WEBHOOK_TERRAFORM: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: tf-checks | ||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
workflow_dispatch: | ||
jobs: | ||
example-complete: | ||
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master | ||
with: | ||
working_directory: './examples/complete' | ||
example-diff_sub: | ||
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master | ||
with: | ||
working_directory: './examples/diff_sub' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: tf-lint | ||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
workflow_dispatch: | ||
jobs: | ||
tf-lint: | ||
uses: clouddrove/github-shared-workflows/.github/workflows/tf-lint.yml@master | ||
secrets: | ||
GITHUB: ${{ secrets.GITHUB }} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.