diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 08db7fe5d..0e7d17e09 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -16,7 +16,9 @@ on: branches: [main] # The image holds the web app only: documentation, test data and the GitHub bots' scripts can't # change it, so a push touching only those builds nothing (edge stays at the last code change). - paths-ignore: ["docs/**", "**/*.md", "tests/**", "scripts/claim/**", "scripts/triage/**"] + # ATTRIBUTION.md is the exception among the Markdown files: the app embeds it (Help, About). + # The last matching pattern wins. + paths: ["**", "!docs/**", "!**/*.md", "ATTRIBUTION.md", "!tests/**", "!scripts/claim/**", "!scripts/triage/**"] release: types: [published] pull_request: diff --git a/.github/workflows/generated.yml b/.github/workflows/generated.yml index db4a3d4c1..4f7b62e61 100644 --- a/.github/workflows/generated.yml +++ b/.github/workflows/generated.yml @@ -6,11 +6,14 @@ name: Generated files on: push: branches: [main] - # THIRD-PARTY-LICENSES.txt follows the manifests and the lockfile; docs/features.md follows the - # command registry (crates/engine), read through solidcraft-cli. Other pushes regenerate nothing. + # THIRD-PARTY-LICENSES.txt follows the manifests, the lockfile, the vendored crates' licence + # files and the fonts' licences; docs/features.md follows the command registry (crates/engine), + # read through solidcraft-cli. Other pushes regenerate nothing. paths: - "Cargo.lock" - "**/Cargo.toml" + - "vendor/**" + - "assets/fonts/**" - "crates/engine/**" - "apps/solidcraft-cli/**" - "xtask/**"