Fix determine changes detection of "code" changes (#9038)

Replaces https://github.com/astral-sh/ruff/pull/9035
Fixes https://github.com/astral-sh/ruff/pull/8225

The issue appears to be that `*/**` was used instead of `**/*` which did
not match _any_ changed file as desired
This commit is contained in:
Zanie Blue 2023-12-06 21:55:12 -06:00 committed by GitHub
parent acab5f3cf2
commit d22ce5372d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,8 @@ jobs:
- "!crates/ruff_dev/**" - "!crates/ruff_dev/**"
- "!crates/ruff_shrinking/**" - "!crates/ruff_shrinking/**"
- scripts/* - scripts/*
- .github/workflows/ci.yaml
- python/** - python/**
- .github/workflows/ci.yaml
formatter: formatter:
- Cargo.toml - Cargo.toml
@ -68,7 +68,7 @@ jobs:
- .github/workflows/ci.yaml - .github/workflows/ci.yaml
code: code:
- "*/**" - "**/*"
- "!**/*.md" - "!**/*.md"
- "!docs/**" - "!docs/**"
- "!assets/**" - "!assets/**"