From 23816373406667e13192914f05143bb944480603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Tue, 10 May 2022 18:58:53 +0200 Subject: .github/: skip file conflicts check if no packages are built workflow was limited to branches modifying srcpkgs/, but this still triggered when modifying only update files or removing template --- .github/workflows/build.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f527ce1f897..177944e1c03 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -105,8 +105,10 @@ jobs: - name: Check file conflicts if: matrix.config.arch == 'x86_64' # the arch indexed in xlocate run: | - xlocate -S && - common/scripts/lint-conflicts $HOME/hostdir/binpkgs + if [ -s /tmp/templates ]; then + xlocate -S && + common/scripts/lint-conflicts $HOME/hostdir/binpkgs + fi - name: Verify repository state run: | -- cgit v1.2.3