Skip to content

Commit

Permalink
Update yaml-check.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Di Giacinto <[email protected]>
  • Loading branch information
mudler authored Apr 25, 2024
1 parent 1b0a64a commit 5d170e9
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions .github/workflows/yaml-check.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
name: json-yaml-validate
name: 'Yamllint GitHub Actions'
on:
push:
branches:
- main
pull_request:
workflow_dispatch:

permissions:
contents: read

- pull_request
jobs:
json-yaml-validate:
yamllint:
name: 'Yamllint'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: json-yaml-validate
id: json-yaml-validate
uses: GrantBirki/[email protected]
- name: 'Checkout'
uses: actions/checkout@master
- name: 'Yamllint'
uses: karancode/yamllint-github-action@master
with:
base_dir: ./gallery
yamllint_file_or_dir: 'gallery'
yamllint_strict: false
yamllint_comment: true
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5d170e9

Please sign in to comment.