Skip to content

Commit

Permalink
dofkwwea
Browse files Browse the repository at this point in the history
Signed-off-by: Mahe Tardy <mahe.tardy@gmail.com>
  • Loading branch information
mtardy committed Jan 29, 2025
1 parent 680e65d commit 100d91e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/static-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ jobs:

- name: Check if build works for every commit
run: |
PR_FIRST_COMMIT=$(git rev-list --reverse -1 origin/${{ github.event.pull_request.base.ref }}..HEAD)
COMMITS=$(git rev-list --reverse origin/${{ github.event.pull_request.base.ref }}..HEAD)
printf "Commits to check:\n$COMMITS\n"
PR_FIRST_COMMIT=$(printf $COMMITS | head -1)
git rebase --exec "make -j $(nproc) tetragon tetra tetragon-bpf" $PR_FIRST_COMMIT^
- name: Failed commit during the build
Expand Down

0 comments on commit 100d91e

Please sign in to comment.