about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2023-02-01 23:15:11 +0900
committerGitHub <noreply@github.com>2023-02-01 15:15:11 +0100
commit420f33ccb95081b960510af3c746a525a370f6bb (patch)
treed8945dcc9c9276755030e3e4321af804fc4fb5e3
parent1c335ac53a98c0f4f97a0ce5c8166cd2285c02ad (diff)
Skip locales linting (#23352)
-rw-r--r--.github/workflows/lint-json.yml2
-rw-r--r--.github/workflows/lint-yml.yml2
2 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/lint-json.yml b/.github/workflows/lint-json.yml
index 5bf4349b3..524ed083a 100644
--- a/.github/workflows/lint-json.yml
+++ b/.github/workflows/lint-json.yml
@@ -9,6 +9,7 @@ on:
       - '.prettier*'
       - '**/*.json'
       - '.github/workflows/lint-json.yml'
+      - '!app/javascript/mastodon/locales/*.json'
 
   pull_request:
     paths:
@@ -17,6 +18,7 @@ on:
       - '.prettier*'
       - '**/*.json'
       - '.github/workflows/lint-json.yml'
+      - '!app/javascript/mastodon/locales/*.json'
 
 jobs:
   lint:
diff --git a/.github/workflows/lint-yml.yml b/.github/workflows/lint-yml.yml
index b939ec8ce..48f8170b3 100644
--- a/.github/workflows/lint-yml.yml
+++ b/.github/workflows/lint-yml.yml
@@ -10,6 +10,7 @@ on:
       - '**/*.yaml'
       - '**/*.yml'
       - '.github/workflows/lint-yml.yml'
+      - '!config/locales/*.yml'
 
   pull_request:
     paths:
@@ -19,6 +20,7 @@ on:
       - '**/*.yaml'
       - '**/*.yml'
       - '.github/workflows/lint-yml.yml'
+      - '!config/locales/*.yml'
 
 jobs:
   lint: