Bump github/codeql-action from 3.28.18 to 3.28.19 (#868) #123
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (C) The DDC development team, see COPYRIGHT.md file | |
# | |
# SPDX-License-Identifier: MIT | |
--- | |
name: YAML checks | |
# yamllint disable-line rule:truthy | |
on: | |
pull_request: | |
paths: | |
- '.clang-format' | |
- '.clang-tidy' | |
- '.gersemirc' | |
- '.github/workflows/yaml-checks.yaml' | |
- '**.yaml' | |
- '**.yml' | |
push: | |
branches: | |
- main | |
paths: | |
- '.clang-format' | |
- '.clang-tidy' | |
- '.gersemirc' | |
- '.github/workflows/yaml-checks.yaml' | |
- '**.yaml' | |
- '**.yml' | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
yaml-lint: | |
name: YAML lint using yamllint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Install yamllint | |
run: pipx install yamllint~=1.35 | |
- run: | | |
yamllint $(git ls-files '*.yml' '*.yaml') | |
yamllint .clang-format .clang-tidy .gersemirc |