-
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: update github-action version and added automerge file (#17)
* feat: update github-action version and added automerge file * feat: update github-action version and added automerge file --------- Co-authored-by: anmolnagpal <anmol@clouddrove.com>
- Loading branch information
1 parent
a8dc58b
commit 2e0fe15
Showing
20 changed files
with
552 additions
and
146 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# These owners will be the default owners for everything in the repo. | ||
* @anmolnagpal @clouddrove/approvers @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 @@ | ||
## what | ||
* Describe high-level what changed as a result of these commits (i.e. in plain-english, what do these changes mean?) | ||
* Use bullet points to be concise and to the point. | ||
|
||
## why | ||
* Provide the justifications for the changes (e.g. business case). | ||
* Describe why these changes were made (e.g. why do these commits fix the problem?) | ||
* Use bullet points to be concise and to the point. | ||
|
||
## references | ||
* Link to any supporting jira issues or helpful documentation to add some context (e.g. stackoverflow). | ||
* Use `closes #123`, if this PR closes a Jira issue `#123` |
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,56 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
open-pull-requests-limit: 3 | ||
assignees: | ||
- "clouddrove-ci" | ||
reviewers: | ||
- "approvers" | ||
|
||
- package-ecosystem: "terraform" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "weekly" | ||
# Add assignees | ||
assignees: | ||
- "clouddrove-ci" | ||
# Add reviewer | ||
reviewers: | ||
- "approvers" | ||
# Allow up to 3 open pull requests for pip dependencies | ||
open-pull-requests-limit: 3 | ||
|
||
- package-ecosystem: "terraform" # See documentation for possible values | ||
directory: "/_example/basic" # Location of package manifests | ||
schedule: | ||
interval: "weekly" | ||
# Add assignees | ||
assignees: | ||
- "clouddrove-ci" | ||
# Add reviewer | ||
reviewers: | ||
- "approvers" | ||
# Allow up to 3 open pull requests for pip dependencies | ||
open-pull-requests-limit: 3 | ||
|
||
- package-ecosystem: "terraform" # See documentation for possible values | ||
directory: "/_example/complete" # Location of package manifests | ||
schedule: | ||
interval: "weekly" | ||
# Add assignees | ||
assignees: | ||
- "clouddrove-ci" | ||
# Add reviewer | ||
reviewers: | ||
- "approvers" | ||
# Allow up to 3 open pull requests for pip dependencies | ||
open-pull-requests-limit: 3 |
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@1.0.9 | ||
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@1.0.9 | ||
secrets: | ||
GITHUB: ${{ secrets.GITHUB }} | ||
with: | ||
tfcheck: 'individual / 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: changelog | ||
permissions: write-all | ||
on: | ||
push: | ||
tags: | ||
- "*" | ||
workflow_dispatch: | ||
jobs: | ||
changelog: | ||
uses: clouddrove/github-shared-workflows/.github/workflows/changelog.yml@1.0.9 | ||
secrets: inherit | ||
with: | ||
branch: 'master' |
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,53 @@ | ||
name: 'Create README.md file' | ||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
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@v5 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: 'create readme' | ||
uses: 'clouddrove/github-actions@9.0.3' | ||
with: | ||
actions_subcommand: 'readme' | ||
github_token: '${{ secrets.GITHUB }}' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: 'pre-commit check errors' | ||
uses: pre-commit/action@v3.0.0 | ||
continue-on-error: true | ||
|
||
- name: 'pre-commit fix erros' | ||
uses: pre-commit/action@v3.0.0 | ||
continue-on-error: true | ||
|
||
- name: 'push readme' | ||
uses: 'clouddrove/github-actions@9.0.3' | ||
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() |
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,19 @@ | ||
name: tf-checks | ||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
workflow_dispatch: | ||
jobs: | ||
individual: | ||
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.0.9 | ||
with: | ||
working_directory: './_example/individual/' | ||
master: | ||
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.0.9 | ||
with: | ||
working_directory: './_example/master/' | ||
member: | ||
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.0.9 | ||
with: | ||
working_directory: './_example/member/' |
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@1.0.9 | ||
secrets: | ||
GITHUB: ${{ secrets.GITHUB }} |
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: tfsec | ||
permissions: write-all | ||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
jobs: | ||
tfsec: | ||
uses: clouddrove/github-shared-workflows/.github/workflows/tfsec.yml@master | ||
secrets: inherit | ||
with: | ||
working_directory: '.' |
Oops, something went wrong.