Skip to content

Commit

Permalink
feat: Rename files and added editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrián Martín García committed Aug 15, 2024
1 parent 505502d commit 2a5aeea
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 11 deletions.
47 changes: 47 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# EditorConfig is awesome: https://EditorConfig.org
# Uses editorconfig to maintain consistent coding styles

# top-most EditorConfig file
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true

[*.{tf,tfvars}]
indent_style = space
indent_size = 2
tab_width = 2

[*.py]
indent_style = space
indent_size = 4
max_line_length = 79

[*.md]
trim_trailing_whitespace = false

[*.{yaml,yml,json,jsonc}]
indent_style = space
indent_size = 2

[Dockerfile*]
indent_style = space
indent_size = 2

[*.sh]
indent_style = space
indent_size = 2

[Makefile]
indent_style = tab

[*.gitignore]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
12 changes: 12 additions & 0 deletions .github/workflows/open-editor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: EditorConfig Checker

on:
issues:
types: [opened]
pull_request:
types: [opened, edited, synchronize, reopened]

jobs:
editorconfig:
uses: devops-ia/.github/.github/workflows/editorconfig.yaml@main
secrets: inherit
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Manage lifecycle Helm Release Cleaner

env:
USER: devopsiaci
REPO: helm-release-cleaner
REPO: release-cleaner

on:
push:
Expand Down Expand Up @@ -53,4 +53,4 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: ${{ env.USER }}/${{ env.REPO }}
repository: ${{ env.USER }}/${{ env.REPO }}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# helm-release-cleaner
# release-cleaner

Image used for helm usage with bash scripts
Docker image with helm binary to use by helm-release-cleaner Helm Chart.

```bash
FROM docker.io/alpine:3.12
Expand All @@ -15,4 +15,4 @@ RUN curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/s
chmod 700 get_helm.sh && \
./get_helm.sh

```
```
14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"name": "@devops-ia/helm-release-cleaner",
"name": "@devops-ia/release-cleaner",
"version": "3.0.0",
"description": "GitHub Action for Helm Release Cleaner",
"author": "amartingarcia <[email protected]> (https://github.com/devops-ia/helm-release-cleaner)",
"homepage": "https://github.com/devops-ia/helm-release-cleaner#readme",
"author": "amartingarcia <[email protected]> (https://github.com/devops-ia/release-cleaner)",
"homepage": "https://github.com/devops-ia/release-cleaner#readme",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"helm-release-cleaner",
"release-cleaner",
"action"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/devops-ia/helm-release-cleaner/issues"
"url": "https://github.com/devops-ia/release-cleaner/issues"
},
"release": {
"tagFormat": "v${version}",
Expand All @@ -29,7 +29,9 @@
[
"@semantic-release/git",
{
"assets": ["CHANGELOG.md"]
"assets": [
"CHANGELOG.md"
]
}
]
]
Expand Down

0 comments on commit 2a5aeea

Please sign in to comment.