From d74b511dbafcdb77e5c94281d30d628c2d4af3c4 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Tue, 25 Nov 2025 14:59:05 +0100 Subject: [PATCH] Fix errors in github action --- .github/workflows/backport.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/backport.yaml b/.github/workflows/backport.yaml index 6b2f984..e295336 100644 --- a/.github/workflows/backport.yaml +++ b/.github/workflows/backport.yaml @@ -24,12 +24,16 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - ref: ${{ github.head_ref }} + ref: main lfs: true # We cannot use the default GITHUB_TOKEN as it is restricted and cannot # trigger another workflow run, which is needed here to trigger the COPR build token: ${{ secrets.COMMIT_TOKEN }} + # 2.5. Configure Git safe directory + - name: Configure Git safe directory + run: git config --global --add safe.directory "$GITHUB_WORKSPACE" + # 3. Run the update script in the container - name: Run update script run: ./update.sh