.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
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…
x
Reference in New Issue
Block a user