1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-19 02:17:38 +03:00

Check if a conditional is needed on all steps

Basically, if it's only on the first and fails, then do the others
still run ?
This commit is contained in:
Athanasius 2020-07-28 17:27:59 +01:00
parent 912f82ce38
commit 9f860a5990

View File

@ -11,19 +11,13 @@ on:
branches: [ develop ]
jobs:
check_access:
runs-on: ubuntu-18.04
steps:
- name: Check annotation access
if: ${{ github.actor != 'AthanasiusTEST' }}
run: exit 1
flake8_annotate:
needs: check_access
runs-on: ubuntu-18.04
steps:
- name: Checkout
if: ${{ github.actor != 'AthanasiusTEST' }}
uses: actions/checkout@v2
with:
fetch-depth: 0