Skip to content

Commit

Permalink
Yamllint
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Mar 6, 2024
1 parent a92b4c6 commit b562dac
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: check
on:
push:
pull_request:
on: [push, pull_request]

concurrency:
group: check-${{ github.ref }}
Expand Down
1 change: 1 addition & 0 deletions config/konflux.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
jira:
# url: https://issues.redhat.com
project-id: KONFLUX
Expand Down
1 change: 1 addition & 0 deletions config/plnsrvce.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
jira:
# url: https://issues.redhat.com
project-id: PLNSRVCE
Expand Down
1 change: 1 addition & 0 deletions config/rhtap.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
jira:
# url: https://issues.redhat.com
project-id: RHTAP
Expand Down
3 changes: 2 additions & 1 deletion config/template.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
jira:
# url: https://issues.redhat.com
project-id: #PROJECT_KEY
project-id: # PROJECT_KEY
team_automation:
issues:
Epic:
Expand Down
7 changes: 6 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = flake8,black,isort,test
envlist = flake8,black,isort,test,yamllint

[flake8]
ignore = E731,W504,W503
Expand Down Expand Up @@ -34,3 +34,8 @@ commands = black {posargs:tests}
skip_install = true
deps = isort
commands = isort --check --diff {posargs:.}

[testenv:yamllint]
skip_install = true
deps = yamllint
commands = yamllint -s -f colored {posargs:config/}

0 comments on commit b562dac

Please sign in to comment.