From 2a70f7f3a257bae11830567015100f9dd74af68c Mon Sep 17 00:00:00 2001 From: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com> Date: Wed, 18 Sep 2024 17:56:49 +0200 Subject: [PATCH] fucking WORK --- .github/workflows/lictool.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/lictool.yaml b/.github/workflows/lictool.yaml index 0b03f23..ecaf7b2 100644 --- a/.github/workflows/lictool.yaml +++ b/.github/workflows/lictool.yaml @@ -10,6 +10,14 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + if: ${{ github.event_name != 'pull_request' }} + + - name: Checkout pull request + uses: actions/checkout@v3 + if: ${{ github.event_name == 'pull_request' }} + with: + repository: ${{ github.event.pull_request.head.repo.full_name }} + ref: ${{ github.event.pull_request.head.ref }} - name: Set up Python 3 uses: actions/setup-python@v4