From 32713578dcf07f672a87818e00562b58874b4a52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1lint=20Bartha?= <39852431+totallyzen@users.noreply.github.com> Date: Tue, 13 Feb 2024 17:37:34 +0100 Subject: [PATCH] fix: changed files breaks on main (#422) # change Fixes an issue with the usage of https://github.com/tj-actions/changed-files. Without a checkout, it breaks on `main`. This re-introduces that push to main. Co-authored-by: Balint Bartha --- .github/workflows/ci-community.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-community.yml b/.github/workflows/ci-community.yml index 4abcae75..337b9066 100644 --- a/.github/workflows/ci-community.yml +++ b/.github/workflows/ci-community.yml @@ -45,6 +45,8 @@ jobs: - k3s runs-on: ubuntu-latest steps: + - name: Checkout contents + uses: actions/checkout@v4 - name: Get changed files id: changes-for-module uses: tj-actions/changed-files@v42 @@ -59,8 +61,6 @@ jobs: gh run watch ${{ github.run_id }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Checkout contents - uses: actions/checkout@v4 - name: Setup Poetry run: pipx install poetry - name: Setup python ${{ matrix.python-version }}