branches: main # Ideally, only run on pushes to main branch and PRs pipeline: pull-request: image: ubuntu:jammy when: event: [ pull_request ] commands: - apt -y update - apt -y install dpkg dpkg-dev scdoc shellcheck - make test main: image: ubuntu:jammy when: event: push branch: main commands: - apt -y update - apt -y install dpkg dpkg-dev scdoc shellcheck - make test