Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 933 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 933 Bytes

validate-alloy-syntax

Performs basic syntax validation of Grafana Alloy configurations (matching parentheses, only valid characters, etc...). Does not validate things at the service or component level.

Usage

Example Workflow

name: My Workflow
on: [push, pull_request]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - name: Validate Alloy Syntax
      uses: spartan0x117/validate-alloy-syntax@master
      with:
        directory: ./alloy_configs

Inputs

Input Description
directory The directory containing Alloy configurations to validate.

Outputs

This action does not produce any outputs.