mirror of
https://github.com/openwrt/packages.git
synced 2025-12-27 01:09:30 +04:00
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)
This commit is contained in:
2
.github/workflows/multi-arch-test-build.yml
vendored
2
.github/workflows/multi-arch-test-build.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user