Skip to content

Commit

Permalink
Add linting (#104)
Browse files Browse the repository at this point in the history
Probably useful
  • Loading branch information
se4598 authored May 12, 2024
2 parents 5eeaf5e + 2b28e91 commit a6edc0f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/christian-linter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'Christian Linter'

Check warning on line 1 in .github/workflows/christian-linter.yaml

View workflow job for this annotation

GitHub Actions / Christian Linter

1:1 [document-start] missing document start "---"
on:

Check warning on line 2 in .github/workflows/christian-linter.yaml

View workflow job for this annotation

GitHub Actions / Christian Linter

2:1 [truthy] truthy value should be one of [false, true]
- pull_request
- push
jobs:
christian-linter:
name: 'Christian Linter'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@master
- name: 'Yamllint'
uses: karancode/yamllint-github-action@master
with:
yamllint_file_or_dir: '.'
yamllint_strict: false
yamllint_comment: true
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a6edc0f

Please sign in to comment.