Files
ansible_role_proxmox_provision/.gitea/workflows/ansible-lint.yml
Jose 18e0ed96ea
All checks were successful
ansible-lint / Ansible Lint (push) Successful in 11s
Gitleaks Scan / gitleaks (push) Successful in 4s
Markdown Lint / markdown-lint (push) Successful in 5s
ai-reviews / Review PR (pull_request) Successful in 14s
PR check / Gitleaks (pull_request) Successful in 4s
PR check / lint tests (pull_request) Successful in 13s
PR check / handle_failures (pull_request) Has been skipped
PR check / handle_success (pull_request) Successful in 2s
refactor ♻️: Refactor event triggers for workflows
Updated the `ansible-lint` and `markdown-lint` workflows by adding new event types (`opened`) to their issue triggers.
2026-02-14 11:09:55 +01:00

38 lines
772 B
YAML

---
# .gitea/workflows/ansible-lint.yml
name: ansible-lint
on:
push:
issues:
types: [opened]
jobs:
build:
name: Ansible Lint
# Naming the build is important to use it as a status check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
github-server-url: ${{ vars.GIT_SERVER_URL }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.14"
- name: Install ansible-lint
run: |
python -m pip install --upgrade pip
pip install ansible ansible-lint yamllint
- name: Run yamllint
run: |
yamllint .
- name: Run ansible-lint
run: |
ansible-lint