updated workflow config

This commit is contained in:
AnsibleGuy 2023-11-28 11:31:40 +01:00
parent ed7304b09c
commit e2ebad000e
No known key found for this signature in database
GPG Key ID: 52984C069F5AD3CD
1 changed files with 12 additions and 5 deletions

View File

@ -1,20 +1,27 @@
---
name: AutoLint
name: Lint
on:
push:
branches: [main, stable, latest]
paths:
- '**.py'
- '**.yml'
- '.github/workflows/lint.yml'
- 'requirements_lint.txt'
pull_request:
branches: [main, stable, latest]
paths:
- '**.py'
- '**.yml'
- '.github/workflows/lint.yml'
- 'requirements_lint.txt'
jobs:
build:
strategy:
matrix:
python-version: [3.10]
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- name: Checkout
uses: actions/checkout@v3