Skip to content

Commit

Permalink
增加yaml检查
Browse files Browse the repository at this point in the history
  • Loading branch information
eryajf committed Jan 19, 2024
1 parent 9959ad9 commit 155fa73
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/yaml-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4.1.0

- name: Lint and Annotate
uses: staffbase/yamllint-action@v1
- name: Run yamllint
uses: ansible-actions/yamllint-action@v0.0.1
with:
token: ${{ secrets.GH_TOKEN }}
## The target path is processed recursively
target-path: items
target: "items"

0 comments on commit 155fa73

Please sign in to comment.