diff --git a/.github/workflows/os-real-boot.yml b/.github/workflows/os-real-boot.yml index 7d0fb83575..bca8fbb545 100644 --- a/.github/workflows/os-real-boot.yml +++ b/.github/workflows/os-real-boot.yml @@ -3,34 +3,48 @@ name: OS Real Boot Check on: pull_request: branches: ["main"] - paths: - - ".config" - - ".github/workflows/os-real-boot.yml" - - "config/**" - - "feeds.conf*" - - "include/**" - - "package/capos/**" - - "package/utils/argosfs/**" - - "scripts/ci/**" - - "target/linux/generic/**" - - "target/linux/x86/**" - - "target/linux/armsr/**" - - "toolchain/**" + # Default to running for repository changes so new build inputs and + # vendored feeds cannot silently bypass the real image build. Ignore only + # files that cannot affect the produced CapOS images. + paths-ignore: + - ".devcontainer/**" + - ".github/FUNDING.yml" + - ".github/ISSUE_TEMPLATE/**" + - ".github/labeler.yml" + - ".github/pull_request_template" + - ".github/workflows/greetings.yml" + - ".github/workflows/issue-summary.yml" + - ".github/workflows/labeler.yml" + - ".github/workflows/os-sanity.yml" + - ".github/workflows/stale.yml" + - "CODE_OF_CONDUCT.md" + - "CONTRIBUTING.md" + - "README.md" + - "SECURITY.md" + - "TODO.md" + - "website/**" push: branches: ["main"] - paths: - - ".config" - - ".github/workflows/os-real-boot.yml" - - "config/**" - - "feeds.conf*" - - "include/**" - - "package/capos/**" - - "package/utils/argosfs/**" - - "scripts/ci/**" - - "target/linux/generic/**" - - "target/linux/x86/**" - - "target/linux/armsr/**" - - "toolchain/**" + # Default to running for repository changes so new build inputs and + # vendored feeds cannot silently bypass the real image build. Ignore only + # files that cannot affect the produced CapOS images. + paths-ignore: + - ".devcontainer/**" + - ".github/FUNDING.yml" + - ".github/ISSUE_TEMPLATE/**" + - ".github/labeler.yml" + - ".github/pull_request_template" + - ".github/workflows/greetings.yml" + - ".github/workflows/issue-summary.yml" + - ".github/workflows/labeler.yml" + - ".github/workflows/os-sanity.yml" + - ".github/workflows/stale.yml" + - "CODE_OF_CONDUCT.md" + - "CONTRIBUTING.md" + - "README.md" + - "SECURITY.md" + - "TODO.md" + - "website/**" workflow_dispatch: permissions: