mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-03-26 21:33:02 +00:00
* exclude plugins/connection/kubectl.py from ansible-lint documentation inside a python file have simplification resolves #976 * Update to use .ansible-lint and ansible-lint@v25.5.0 Signed-off-by: Alina Buzachis <abuzachis@redhat.com> * Update .github/workflows/linters.yaml Signed-off-by: Alina Buzachis <abuzachis@redhat.com> --------- Signed-off-by: Alina Buzachis <abuzachis@redhat.com> Co-authored-by: Alina Buzachis <abuzachis@redhat.com>
26 lines
501 B
YAML
26 lines
501 B
YAML
---
|
|
name: Linters
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- stable-*
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
linters:
|
|
uses: ansible-network/github_actions/.github/workflows/tox-linters.yml@main
|
|
ansible-lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: run-ansible-lint
|
|
uses: ansible/ansible-lint@main
|
|
with:
|
|
gh_action_ref: "v25.5.0"
|