mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-04 09:31:12 +03:00
Set array in earlier job using JSON
This commit is contained in:
parent
2375bf1995
commit
5dd17cacae
11
.github/workflows/pr-annotate-with-flake8.yml
vendored
11
.github/workflows/pr-annotate-with-flake8.yml
vendored
@ -11,12 +11,21 @@ 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(['Athanasius'], github.actor) }}
|
||||
if: ${{ contains(${{fromJson(needs.set_allowed.outputs.allowed)}}, github.actor) }}
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user