mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-20 08:19:07 +08:00
github.head_ref is empty for push and schedule events, so all those runs shared the same concurrency group and cancelled each other. Fall back to github.run_id to give each non-PR run a unique group. Assisted-by: Claude:claude-opus-4-6 Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
30 lines
632 B
YAML
30 lines
632 B
YAML
name: libbpf-ci
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
schedule:
|
|
- cron: '0 18 * * *'
|
|
|
|
concurrency:
|
|
group: ci-test-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
vmtest:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- runs_on: 'ubuntu-24.04'
|
|
arch: 'x86_64'
|
|
llvm-version: '21'
|
|
pahole: 'master'
|
|
name: llvm-${{ matrix.llvm-version }}
|
|
uses: ./.github/workflows/vmtest.yml
|
|
with:
|
|
runs_on: ${{ matrix.runs_on }}
|
|
arch: ${{ matrix.arch }}
|
|
llvm-version: ${{ matrix.llvm-version }}
|
|
pahole: ${{ matrix.pahole }}
|