Browse Source

ci: Look for changed packages in the PR branch only

Fixes https://github.com/openwrt/packages/issues/15267.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 6b2294ac37)
lilik-openwrt-22.03
Jeffery To 2 years ago
committed by Paul Spooren
parent
commit
0cd609b676
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      .github/workflows/multi-arch-test-build.yml

+ 1
- 1
.github/workflows/multi-arch-test-build.yml View File

@ -68,7 +68,7 @@ jobs:
PKG_ROOTS=$(find . -name Makefile | \
grep -v ".*/src/Makefile" | \
sed -e 's@./\(.*\)/Makefile@\1/@')
CHANGES=$(git diff --diff-filter=d --name-only origin/$BRANCH)
CHANGES=$(git diff --diff-filter=d --name-only origin/$BRANCH...)
for ROOT in $PKG_ROOTS; do
for CHANGE in $CHANGES; do


Loading…
Cancel
Save