mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-03-26 21:33:02 +00:00
This is a backport of PR #982 as merged into main (a861079).
SUMMARY
Exclude plugins/connection/kubectl.py from ansible-lint, as this file contains only examples that is simplificated and may not be accordingally to linter rules.
resolves #976
ISSUE TYPE
Bugfix Pull Request
COMPONENT NAME
CI
ADDITIONAL INFORMATION
Reviewed-by: Alina Buzachis
Reviewed-by: Bianca Henderson <beeankha@gmail.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"
|