From 8f06aa9b229c5a22168588ccebb0b3308b759334 Mon Sep 17 00:00:00 2001 From: Alexander Gierlicki Date: Tue, 21 Jan 2025 12:18:01 +0100 Subject: [PATCH] fix: add checkout action to changeset check --- .github/workflows/template_changeset_check.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/template_changeset_check.yml b/.github/workflows/template_changeset_check.yml index bf6684f..3d8fca6 100644 --- a/.github/workflows/template_changeset_check.yml +++ b/.github/workflows/template_changeset_check.yml @@ -7,6 +7,9 @@ jobs: name: changeset-check runs-on: ubuntu-24.04 steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Check for changeset file id: checkfile run: echo "{changeset}={$(git diff --name-only origin/main... | grep -c '.changeset/.*\.md$')} >> $GITHUB_OUTPUT"