Skip to content

chore: remove dev environment ArgoCD #3

chore: remove dev environment ArgoCD

chore: remove dev environment ArgoCD #3

# Validates YAML syntax for ArgoCD application manifests in argocd-apps
name: Lint ArgoCD YAML
on:
pull_request:
paths:
- 'argocd-apps/**/*.yaml'
- 'argocd-apps/**/*.yml'
push:
branches:
- main
paths:
- 'argocd-apps/**/*.yaml'
- 'argocd-apps/**/*.yml'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-yaml:
name: Lint ArgoCD YAML Files
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout repository
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955
- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
with:
python-version: '3.x'
- name: Install yamllint
run: pip install yamllint==1.35.1
- name: Run yamllint on argocd-apps
run: yamllint -c .yamllint-argocd -f colored argocd-apps/