kernel: Update to v6.10.12 #84
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: COPR Webhook | |
on: | |
push: | |
branches: | |
- "main" | |
paths: | |
- "kernel/*" | |
- "t2linux-config/*" | |
- "t2linux-audio/*" | |
- "rust-tiny-dfr/*" | |
- "t2linux-repos/*" | |
- "rust-arraydeque/*" | |
- "rust-nonempty/*" | |
- "rust-rust-ini0.20/*" | |
- "t2fanrd/*" | |
- "linux-apfs-rw/*" | |
- "linux-apfs-rw-kmod/*" | |
- "t2linux-scripts/*" | |
- "t2linux-release/*" | |
jobs: | |
copr-webhook: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v41 | |
with: | |
since_last_remote_commit: true | |
dir_names: "true" | |
- name: "Trigger COPR webhook" | |
run: | | |
CHANGED_PACKAGES=( $(for c in ${CHANGES[@]}; do cut -d/ -f1<<<$c; done | sort -u) ) | |
for package in "${CHANGED_PACKAGES[@]}"; do | |
echo "Running COPR webhook for: $package" | |
curl -sS -X POST $COPR_WEBHOOK/$package | |
done | |
env: | |
COPR_WEBHOOK: ${{ secrets.COPR_WEBHOOK }} | |
CHANGES: ${{ steps.changed-files.outputs.all_changed_files }} |