Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add yaml lint #4

Open
eonist opened this issue Jan 19, 2025 · 1 comment
Open

Add yaml lint #4

eonist opened this issue Jan 19, 2025 · 1 comment

Comments

@eonist
Copy link
Owner

eonist commented Jan 19, 2025

Todo: Email Notifications: Configure your CI tool to send emails on failures.

Todo: Slack Notifications: Integrate with Slack to receive alerts.

name: YAML Lint

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
lint:
name: Lint YAML files
runs-on: ubuntu-latest
steps:
# Step 1: Check out the repository code
- uses: actions/checkout@v3

  # Step 2: Install yamllint using pip
  - name: Install yamllint
    run: |
      pip install yamllint

  # Step 3: Run yamllint to lint YAML files in the repository
  - name: Run yamllint
    run: |
      yamllint .
@eonist
Copy link
Owner Author

eonist commented Jan 19, 2025

Add custom lint file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant