Skip to content

Commit c005292

Browse files
committed
fixup! ci: Only run autpkgtests on main, on tags and if a debian file is modified
1 parent 38bca52 commit c005292

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build-deb.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ jobs:
6262
matrix:
6363
ubuntu-version: ${{ fromJSON(needs.define-versions.outputs.ubuntu-versions) }}
6464

65+
# Run autopkgtests only on:
66+
# - Push events to main
67+
# - When a file in the debian subdir is modified
68+
# - When this file is modified
69+
# - On new tags
70+
# - On github release
6571
if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') ||
6672
contains(join(github.event.commits.*.modified), 'debian/') ||
6773
contains(join(github.event.commits.*.modified), '.github/workflows/build-deb.yaml') ||

0 commit comments

Comments
 (0)