mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-16 15:22:17 +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 ]
|
branches: [ develop ]
|
||||||
|
|
||||||
jobs:
|
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:
|
flake8_annotate:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
|
needs: set_allowed
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
if: ${{ contains(['Athanasius'], github.actor) }}
|
if: ${{ contains(${{fromJson(needs.set_allowed.outputs.allowed)}}, github.actor) }}
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user