build: GitHub Action to lint python files with pyflakes (#1332)

This commit is contained in:
Kevin Turner 2022-12-15 11:30:58 -08:00 committed by GitHub
parent b8e1151a9c
commit 7a4e647287
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

19
.github/workflows/pyflakes.yml vendored Normal file
View File

@ -0,0 +1,19 @@
on:
pull_request:
push:
branches:
- main
- development
- 'release-candidate-*'
jobs:
pyflakes:
name: runner / pyflakes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: pyflakes
uses: reviewdog/action-pyflakes@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review