Skip to content

net: sched: sch_qfq: Fix UAF in qfq_dequeue() Testing Python PR checker #156

net: sched: sch_qfq: Fix UAF in qfq_dequeue() Testing Python PR checker

net: sched: sch_qfq: Fix UAF in qfq_dequeue() Testing Python PR checker #156

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Pull Request Checker
on:
pull_request:
branches:
- '**'
- '!mainline'
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- name: Run tests
run: |
/usr/bin/pip3 install gitPython
python -c "import sys; import git; print(sys.version)"
rm -rf /home/runner/work/kernel-src-tree/kernel-src-tree
cd /home/runner/work/kernel-src-tree
git clone https://github.com/ctrliq/kernel-src-tree
cd kernel-src-tree
git fetch --all
git checkout -b ${{ github.head_ref }} origin/${{ github.head_ref }}
git checkout ${{ github.base_ref }}
git remote add linux https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --shallow-since="2 years ago" linux
echo "Will run process-git-request.py with:"
echo "fname = ${{ github.run_id }}"
echo "target_branch = ${{ github.base_ref }}"
echo "source_branch = ${{ github.head_ref }}"
echo "prj_dir = ${{ github.workspace }}"
echo "pull_request = ${{ github.ref }}"
echo "requestor = ${{ github.actor }}"
cd ${{ github.workspace }}
/usr/bin/python3 .github/workflows/process-git-request.py ${{ github.run_id }} ${{ github.base_ref }} \
${{ github.head_ref }} ${{ github.workspace }} ${{ github.head_ref }} ${{ github.actor }}