Nicolas Massé 1 month ago
parent
commit
de35e64c33
  1. 7
      .github/workflows/backport.yaml
  2. 3
      .github/workflows/copr-build.yaml

7
.github/workflows/backport.yaml

@ -25,6 +25,10 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
ref: ${{ github.head_ref }} 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 # 3. Run the update script in the container
- name: Run update script - name: Run update script
@ -35,6 +39,3 @@ jobs:
with: with:
commit_message: Backport packages from upstream commit_message: Backport packages from upstream
commit_author: Nicolas Massé <nicolas.masse@itix.fr> commit_author: Nicolas Massé <nicolas.masse@itix.fr>
# 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
.github/workflows/copr-build.yaml

@ -24,6 +24,9 @@ jobs:
# 2. Checkout the repository # 2. Checkout the repository
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
lfs: true
# 3. Run the build script # 3. Run the build script
- name: Run COPR build script - name: Run COPR build script

Loading…
Cancel
Save