Skip to content

spartan0x117/validate-alloy-syntax

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.