From de35e64c3379e1a4a5fe277d0c4b649b40daf96f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Fri, 31 Oct 2025 12:28:30 +0100 Subject: [PATCH] wip --- .github/workflows/backport.yaml | 7 ++++--- .github/workflows/copr-build.yaml | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/backport.yaml b/.github/workflows/backport.yaml index 3a75b46..6b2f984 100644 --- a/.github/workflows/backport.yaml +++ b/.github/workflows/backport.yaml @@ -25,6 +25,10 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} + 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 }} # 3. Run the update script in the container - name: Run update script @@ -35,6 +39,3 @@ jobs: with: commit_message: Backport packages from upstream commit_author: Nicolas Massé - # 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 }} diff --git a/.github/workflows/copr-build.yaml b/.github/workflows/copr-build.yaml index c56ef64..bba4317 100644 --- a/.github/workflows/copr-build.yaml +++ b/.github/workflows/copr-build.yaml @@ -24,6 +24,9 @@ jobs: # 2. Checkout the repository - name: Checkout repository uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} + lfs: true # 3. Run the build script - name: Run COPR build script