From e22fadd5f5a7877b27d85e02ae2fdf5842b8d3c0 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Tue, 28 Jul 2020 18:12:54 +0100 Subject: [PATCH] Revert "Set array in earlier job using JSON" This reverts commit 8b863c5efdb1414c3fbdf4817c14129d0ccd392a. --- .github/workflows/pr-annotate-with-flake8.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/pr-annotate-with-flake8.yml b/.github/workflows/pr-annotate-with-flake8.yml index 3028154e..df8926c2 100644 --- a/.github/workflows/pr-annotate-with-flake8.yml +++ b/.github/workflows/pr-annotate-with-flake8.yml @@ -11,21 +11,12 @@ on: branches: [ develop ] jobs: - set_allowed: - runs-on: ubuntu-18.04 - outputs: - matrix: ${{ steps.set-allowed.outputs.allowed }} - steps: - - id: set-allowed - run: echo "::set-output name=allowed::{['Athanasius']}" - flake8_annotate: runs-on: ubuntu-18.04 - needs: set_allowed steps: - name: Checkout - if: ${{ contains(${{fromJson(needs.set_allowed.outputs.allowed)}}, github.actor) }} + if: ${{ contains(['Athanasius'], github.actor) }} uses: actions/checkout@v2 with: fetch-depth: 0