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