mirror of
https://github.com/mudler/LocalAI.git
synced 2024-06-07 19:40:48 +00:00
Update yaml-check.yml
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
parent
1b0a64aa46
commit
5d170e9264
30
.github/workflows/yaml-check.yml
vendored
30
.github/workflows/yaml-check.yml
vendored
@ -1,22 +1,18 @@
|
|||||||
name: json-yaml-validate
|
name: 'Yamllint GitHub Actions'
|
||||||
on:
|
on:
|
||||||
push:
|
- pull_request
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
pull_request:
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
json-yaml-validate:
|
yamllint:
|
||||||
|
name: 'Yamllint'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: 'Checkout'
|
||||||
|
uses: actions/checkout@master
|
||||||
- name: json-yaml-validate
|
- name: 'Yamllint'
|
||||||
id: json-yaml-validate
|
uses: karancode/yamllint-github-action@master
|
||||||
uses: GrantBirki/json-yaml-validate@v2.7.1
|
|
||||||
with:
|
with:
|
||||||
base_dir: ./gallery
|
yamllint_file_or_dir: 'gallery'
|
||||||
|
yamllint_strict: false
|
||||||
|
yamllint_comment: true
|
||||||
|
env:
|
||||||
|
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user