Skip to content
Snippets Groups Projects
Commit 1ce76d46 authored by Andrew Newdigate's avatar Andrew Newdigate
Browse files

Merge branch 'editorconfig' into 'main'

feat: add editorconfig job

See merge request gitlab-com/gl-infra/gitlab-dedicated/gitlab-ci-tools!6
parents 39322ca6 74d1ab20
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -13,3 +13,15 @@ include:
- project: 'gitlab-com/gl-infra/gitlab-dedicated/gitlab-ci-tools'
file: 'golangci-lint.yml'
```
### `editorconfig_check`
This job ensures that the repository adheres to the [EditorConfig](https://editorconfig.org/) rules for the project.
* Default Stage: `validate`
```yaml
include:
- project: 'gitlab-com/gl-infra/gitlab-dedicated/gitlab-ci-tools'
file: 'editorconfig-check.yml'
```
# Note:
# * Runs in the validate stage
editorconfig_check:
stage: validate
image:
name: mstruebing/editorconfig-checker
entrypoint: []
needs: []
script:
- ec
only:
- main
- merge_requests
- tags
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment