diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 1a3d672e..01decfc1 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -20,7 +20,8 @@ jobs: #################################################################### steps: - name: Show github context - run: cat $GITHUB_EVENT_PATH + run: | + cat $GITHUB_EVENT_PATH #################################################################### #################################################################### @@ -32,7 +33,7 @@ jobs: # https://github.com/actions/checkout uses: actions/checkout@v2 with: - repository: ${{github.event.head.repo.full_name}} + repository: ${{github.event.pull_request.head.repo.full_name}} fetch-depth: 0 #################################################################### @@ -55,7 +56,7 @@ jobs: #################################################################### - name: Lint with flake8 env: - BASE_REPO: ${{github.event.base.repo.full_name}} + BASE_REPO: ${{github.event.pull_request.base.repo.full_name}} BASE_REF: ${{github.base_ref}} run: |