From 6d65eb5c3d25977e76c4bb28d1fd36840dca09ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathieu=20Dupr=C3=A9?= Date: Mon, 19 Feb 2024 14:47:22 +0100 Subject: [PATCH] github/workflows: fix ci-debian-weekly fetch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ci-debian-weekly workflow use a custom way to fetch the sources, using the `GITHUB_REF` environment variable to fetch the correct branch. Signed-off-by: Mathieu Dupré --- .github/workflows/ci-debian-weekly.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci-debian-weekly.yml b/.github/workflows/ci-debian-weekly.yml index 7f3d1394c..33d94d6e6 100644 --- a/.github/workflows/ci-debian-weekly.yml +++ b/.github/workflows/ci-debian-weekly.yml @@ -17,14 +17,11 @@ jobs: CI: runs-on: [self-hosted, runner-RTE-12] steps: - - uses: actions/checkout@v2 - with: - ref: debian-main - name: Initialize sources run: mkdir ${{ env.WORK_DIR }}; cd ${{ env.WORK_DIR }}; git clone -q --depth 1 --recurse-submodules -b main https://github.com/seapath/ci ci; echo "CI sources downloaded successfully"; - ci/launch.sh init; + GITHUB_REF=debian-main ci/launch.sh init; - name: Configure Debian id: conf