diff options
author | Jeffery To <jeffery.to@gmail.com> | 2022-05-11 17:21:52 +0800 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2022-05-14 21:33:21 -0700 |
commit | 6b2294ac379ecae55993a8faa583910423f620e7 (patch) | |
tree | 88e8bee3ec15c619f48657ae09d8ad386d33921a /.github | |
parent | 1f96ec16ecdb98b83244b4c97faf314552948924 (diff) |
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>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/multi-arch-test-build.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/multi-arch-test-build.yml b/.github/workflows/multi-arch-test-build.yml index 3aa71c26b..ed5dc366a 100644 --- a/.github/workflows/multi-arch-test-build.yml +++ b/.github/workflows/multi-arch-test-build.yml @@ -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 |