Merge pull request #124 from draios/ignore_6.7 #18
This file contains 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
name: Validate agent ignorelist yaml file | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- dev | |
paths: | |
- probe_builder/builder/ignorelist.schema.json | |
- agent_ignorelist.yaml | |
pull_request: | |
paths: | |
- probe_builder/builder/ignorelist.schema.json | |
- agent_ignorelist.yaml | |
jobs: | |
build: | |
name: Validate agent_ignorelist.yaml | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Validate agent_ignorelist.yaml file against the schema | |
id: validate-agent-ignorelist-yaml | |
uses: GrantBirki/[email protected] | |
with: | |
json_schema: probe_builder/builder/ignorelist.schema.json | |
yaml_as_json: true | |
use_gitignore: false | |
files: | | |
agent_ignorelist.yaml |