mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-14 21:27:01 +02:00
.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
This commit is contained in:
parent
722a6924b0
commit
2381637340
1 changed files with 4 additions and 2 deletions
6
.github/workflows/build.yaml
vendored
6
.github/workflows/build.yaml
vendored
|
@ -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: |
|
||||
|
|
Loading…
Add table
Reference in a new issue