1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-06-06 02:13:41 +03:00

Top-level event key needs to be pull_request

This commit is contained in:
Athanasius 2020-07-31 12:51:07 +01:00
parent 7c00ddcebf
commit e1a5a1f811

View File

@ -20,7 +20,8 @@ jobs:
#################################################################### ####################################################################
steps: steps:
- name: Show github context - name: Show github context
run: cat $GITHUB_EVENT_PATH run: |
cat $GITHUB_EVENT_PATH
#################################################################### ####################################################################
#################################################################### ####################################################################
@ -32,7 +33,7 @@ jobs:
# https://github.com/actions/checkout # https://github.com/actions/checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
repository: ${{github.event.head.repo.full_name}} repository: ${{github.event.pull_request.head.repo.full_name}}
fetch-depth: 0 fetch-depth: 0
#################################################################### ####################################################################
@ -55,7 +56,7 @@ jobs:
#################################################################### ####################################################################
- name: Lint with flake8 - name: Lint with flake8
env: env:
BASE_REPO: ${{github.event.base.repo.full_name}} BASE_REPO: ${{github.event.pull_request.base.repo.full_name}}
BASE_REF: ${{github.base_ref}} BASE_REF: ${{github.base_ref}}
run: | run: |