We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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 .
The text was updated successfully, but these errors were encountered:
Add custom lint file
Sorry, something went wrong.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: