From 810310dc534947e7c6a2d2120802e8fc1ff8f1bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johanna=20S=C3=B6rng=C3=A5rd?= <44257381+JSorngard@users.noreply.github.com> Date: Thu, 13 Jun 2024 10:58:29 +0200 Subject: [PATCH] Ignore changes to readme, changelog, and licenses in CI (#46) * Ignore changes to readme and changelog in CI * Also ignore changes to licenses --- .github/workflows/rust.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 20b3ec9..046e6f8 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -2,9 +2,20 @@ name: CI on: push: + paths-ignore: + - 'README.md' + - 'CHANGELOG.md' + - 'LICENSE-APACHE' + - 'LICENSE-MIT' branches: [ "main" ] pull_request: + paths-ignore: + - 'README.md' + - 'CHANGELOG.md' + - 'LICENSE-APACHE' + - 'LICENSE-MIT' branches: [ "main" ] + env: CARGO_TERM_COLOR: always