diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml index 0952db6..cc69fd2 100644 --- a/.github/workflows/api.yml +++ b/.github/workflows/api.yml @@ -2,11 +2,9 @@ name: API on: push: - branches: - - main - pull_request: - branches: - - main + paths: + - "api/**" + - ".github/workflows/api.yml" env: CARGO_TERM_COLOR: always