From 7a4e647287b06f36561636ea385e7a2131004d23 Mon Sep 17 00:00:00 2001 From: Kevin Turner <83819+keturn@users.noreply.github.com> Date: Thu, 15 Dec 2022 11:30:58 -0800 Subject: [PATCH] build: GitHub Action to lint python files with pyflakes (#1332) --- .github/workflows/pyflakes.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/pyflakes.yml diff --git a/.github/workflows/pyflakes.yml b/.github/workflows/pyflakes.yml new file mode 100644 index 0000000000..fcf8103d46 --- /dev/null +++ b/.github/workflows/pyflakes.yml @@ -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