diff options
author | Piotr Wójcik <chocimier@tlen.pl> | 2022-05-10 16:58:53 +0000 |
---|---|---|
committer | Piotr Wójcik <chocimier@tlen.pl> | 2022-05-10 17:56:24 +0000 |
commit | 23816373406667e13192914f05143bb944480603 (patch) | |
tree | 1b669953d05603c2b1a8a86a187bfd9372189a14 /.github/workflows | |
parent | 722a6924b0b5f87f03d276f07d284e34c074a32c (diff) | |
download | void-packages-23816373406667e13192914f05143bb944480603.tar void-packages-23816373406667e13192914f05143bb944480603.tar.gz void-packages-23816373406667e13192914f05143bb944480603.tar.bz2 void-packages-23816373406667e13192914f05143bb944480603.tar.lz void-packages-23816373406667e13192914f05143bb944480603.tar.xz void-packages-23816373406667e13192914f05143bb944480603.tar.zst void-packages-23816373406667e13192914f05143bb944480603.zip |
.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
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build.yaml | 6 |
1 files changed, 4 insertions, 2 deletions
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: | |