Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,19 @@
# top-most EditorConfig file
root = true

## Default settings
[*]
# Unix-style newlines
### Unix-style newlines
end_of_line = lf
# Always end with an empty new line
### Always end with an empty new line
insert_final_newline = true
# Set default charset to utf-8
### Set default charset to utf-8
charset = utf-8
# Indent with 2 spaces
### Indent with 2 spaces
indent_style = space
indent_size = 2

## Markdown files
[*.md]
### Do not wrap long lines
max_line_length = off
11 changes: 11 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
- package-ecosystem: terraform
directory: "/"
schedule:
interval: daily
12 changes: 0 additions & 12 deletions .github/dependabot.yml

This file was deleted.

51 changes: 0 additions & 51 deletions .github/workflows/pr-checks.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Pull Request checks

"on":
pull_request:
branches:
- main
- master
types:
- opened
- reopened
- synchronize
- ready_for_review

jobs:
check_shell:
uses: scaleway-terraform-modules/wokflows/.github/workflows/check_shell.yaml@6daf37405de395030ec647a50c4e1704628fda51 # v0.0.1
check_tf:
uses: scaleway-terraform-modules/wokflows/.github/workflows/check_tf.yaml@6daf37405de395030ec647a50c4e1704628fda51 # v0.0.1
secrets: inherit
check_yaml:
uses: scaleway-terraform-modules/wokflows/.github/workflows/check_yaml.yaml@6daf37405de395030ec647a50c4e1704628fda51 # v0.0.1
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ override.tf.json
# to change depending on the environment.
*.tfvars
*.tfvars.json

# MacOS File
**/.DS_Store
1 change: 1 addition & 0 deletions .terraform-docs.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
formatter: "markdown table"

header-from: main.tf
Expand Down
34 changes: 34 additions & 0 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
yaml-files:
- '*.yaml'
- '*.yml'
- '.yamllint'

rules:
anchors: enable
braces: enable
brackets: enable
colons: enable
commas: enable
comments:
level: warning
comments-indentation:
level: warning
document-end: disable
document-start:
level: warning
empty-lines: enable
empty-values: disable
float-values: disable
hyphens: enable
indentation: enable
key-duplicates: enable
key-ordering: disable
line-length: disable
new-line-at-end-of-file: enable
new-lines: enable
octal-values: disable
quoted-strings: disable
trailing-spaces: enable
truthy:
level: warning