From 5a6f47288a01e28f38f1afba49684acd4b89ea82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Ramiro?= <13081142+DonHaul@users.noreply.github.com> Date: Wed, 25 Sep 2024 13:47:34 +0200 Subject: [PATCH] gh actions: use pr image in workflows for linting --- .github/workflows/pull-request-main-workflows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request-main-workflows.yml b/.github/workflows/pull-request-main-workflows.yml index 9ddc3098..cfe7b299 100644 --- a/.github/workflows/pull-request-main-workflows.yml +++ b/.github/workflows/pull-request-main-workflows.yml @@ -10,7 +10,7 @@ jobs: lint: uses: ./.github/workflows/lint.yml with: - ref: ${{ github.ref }} + ref: ${{ github.event.pull_request.head.sha }} test: needs: lint uses: ./.github/workflows/test-workflows.yml