From 91c2dcd7021c4cc6ed50e21d0d7d0c01598d2c73 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Wed, 27 Dec 2023 18:19:42 +0100 Subject: [PATCH] [CI] checkout the head of the PR --- .forgejo/workflows/pr.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.forgejo/workflows/pr.yml b/.forgejo/workflows/pr.yml index 059d30a2..4e9d2283 100644 --- a/.forgejo/workflows/pr.yml +++ b/.forgejo/workflows/pr.yml @@ -10,6 +10,8 @@ jobs: image: node:20 steps: - uses: https://code.forgejo.org/actions/checkout@v3 + with: + ref: ${{ github.event.pull_request.head.sha }} - name: lint run: | corepack enable