feat(dbss): add new resource to manage RDS database bind DBSS instance #13016
Workflow file for this run
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 is a lint workflow for documentation and example to help you get started with Actions | |
name: doc-lint | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
pull_request: | |
branches: [ master ] | |
paths: | |
- 'docs/**' | |
- 'examples/**' | |
- '*.md' | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a job called "markdownlint" | |
markdownlint: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# Runs actions-markdownlint | |
- uses: articulate/actions-markdownlint@v1 | |
with: | |
config: .markdownlint.json | |
files: | |
./*.md ./examples ./docs | |
tflint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
name: Checkout source code | |
- uses: terraform-linters/setup-tflint@v3 | |
name: Setup TFLint | |
- name: Init TFLint | |
run: tflint --init | |
env: | |
github_token: ${{ secrets.github_token }} | |
- name: Show version | |
run: tflint --version | |
- name: Run TFLint | |
run: | | |
# Go through all dirs | |
WORK_DIR="./examples" | |
dirs=$(ls -d ${WORK_DIR}/*) | |
for sub_dir in ${dirs}; do | |
targets=$(ls -d ${sub_dir}/*) | |
for DIRECTORY in ${targets}; do | |
echo -e "\nlinting directory: ${DIRECTORY}" | |
tflint --chdir ${DIRECTORY} --config ../../.tflint.hcl | |
done | |
done | |
misspell: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: misspell | |
uses: reviewdog/[email protected] | |
with: | |
github_token: ${{ secrets.github_token }} | |
locale: "US" | |
ignore: | | |
analyses,cancelled,classis | |
pattern: | | |
*.md | |
*.tf | |
exclude: | | |
./vendor/* |