From 63d44bf8d789dd786aa34195ae2bd4c072e424b1 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Sun, 26 Jul 2020 21:19:58 +0100 Subject: [PATCH] Attempt to run "tayfun/flake8-your-pr@master" in PRs. --- .github/workflows/pr-annotate-with-flake8.yml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/pr-annotate-with-flake8.yml diff --git a/.github/workflows/pr-annotate-with-flake8.yml b/.github/workflows/pr-annotate-with-flake8.yml new file mode 100644 index 00000000..2782678a --- /dev/null +++ b/.github/workflows/pr-annotate-with-flake8.yml @@ -0,0 +1,27 @@ +# This workflow will: +# +# install Python dependencies +# Run flake8 to add annotations to the PR +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions + +name: PR-annotate-flake8 + +on: + pull_request: + branches: [ develop ] + +jobs: + build: + + runs-on: ubuntu-18.04 + + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set up Python 3.7 + uses: actions/setup-python@v2 + with: + python-version: 3.7 + - name: Annotate with Flake8 + uses: "tayfun/flake8-your-pr@master"