Skip to content

backend: manpage for copr-backend-resultdir-cleaner && logger fix #2101

backend: manpage for copr-backend-resultdir-cleaner && logger fix

backend: manpage for copr-backend-resultdir-cleaner && logger fix #2101

Workflow file for this run

---
name: Fedora Copr build
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
name: Check modified subdirectories
outputs:
packages: ${{ steps.check_packages.outputs.packages }}
steps:
- name: Check out proper version of sources
uses: actions/checkout@v4
with:
# reasonable number of commits in one push?
fetch-depth: 50
- id: check_packages
name: Detecting changed sub-packages
run: |
echo "packages<<EOF" >> $GITHUB_OUTPUT
./.github/copr-build-helpers/changed-packages "${{ github.event.before }}" "${{ github.event.pull_request.base.sha }}" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
build:
needs: check
runs-on: ubuntu-latest
strategy:
matrix: ${{fromJSON(needs.check.outputs.packages)}}
name: RPM package ${{ matrix.package }}
steps:
- name: Check out proper version of sources
uses: actions/checkout@v4
- name: Copr build ${{ matrix.package }}
env:
COPR_PR_WEBHOOK: https://copr.fedorainfracloud.org/webhooks/custom-dir/@copr/copr-pull-requests:pr:${{github.event.number}}/2a94f455-b4ac-467e-86e2-f4400ecd4450/${{ matrix.package }}/
COPR_PUSH_WEBHOOK: ${{ secrets.COPR_PUSH_WEBHOOK }}/${{ matrix.package }}/
run: |
curl https://raw.githubusercontent.com/praiskup/copr-ci-tooling/main/copr-gh-actions-submit > submit
bash submit ${{ github.event.pull_request.number }}