Skip to content

Commit

Permalink
trying
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 114d2c5 commit 19e5469
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/static-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ jobs:

- name: Check if build works for every commit
run: |
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)
set -x
PR_FIRST_COMMIT=$(git rev-list --reverse -1 origin/${{ github.event.pull_request.base.ref }}..HEAD)
git rebase --exec "make -j$(nproc) tetragon tetra tetragon-bpf tetragon-operator" $PR_FIRST_COMMIT^
- name: Failed commit during the build
Expand Down

0 comments on commit 19e5469

Please sign in to comment.