1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-06-07 19:03:23 +03:00

Attempt to limit flake8 annotations to Athanasius

This commit is contained in:
Athanasius 2020-07-28 17:01:24 +01:00
parent ed9a4cfe29
commit 09e39a47ef

View File

@ -16,11 +16,13 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
if: ${{ github.actor == "Athanasius" }}
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Check for PY files - name: Check for PY files
if: ${{ github.actor == "Athanasius" }}
env: env:
BASE_REF: ${{github.base_ref}} BASE_REF: ${{github.base_ref}}
run: | run: |
@ -30,12 +32,14 @@ jobs:
echo "::set-env name=PYFILES::${PYFILES}" echo "::set-env name=PYFILES::${PYFILES}"
- name: Set up Python 3.7 - name: Set up Python 3.7
if: ${{ github.actor == "Athanasius" }}
if: ${{ env.PYFILES != '' }} if: ${{ env.PYFILES != '' }}
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: 3.7 python-version: 3.7
- name: Annotate with Flake8 - name: Annotate with Flake8
if: ${{ github.actor == "Athanasius" }}
if: ${{ env.PYFILES != '' }} if: ${{ env.PYFILES != '' }}
uses: "tayfun/flake8-your-pr@master" uses: "tayfun/flake8-your-pr@master"
env: env: