mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix crowdin spell check action (#1756)
* Tweak file exclusion rule * Exclude l10n_dev branch * Disable cancel in progress * Temporarily check all for test * Fix checking head ref * Stop checking Resources.resx * Update texts * Update regex * update exclude list * Test l10n_dev * ignore resx * update * fix branch head * update newline * update regex * test * remove test code * Exclude l10n_dev branch
This commit is contained in:
parent
43b8cc5a7b
commit
c53fdc1ed6
4 changed files with 13 additions and 8 deletions
10
.github/actions/spelling/excludes.txt
vendored
10
.github/actions/spelling/excludes.txt
vendored
|
|
@ -57,12 +57,12 @@
|
|||
^\.github/actions/spelling/
|
||||
^\Q.github/workflows/spelling.yml\E$
|
||||
# Custom
|
||||
(?:^|/)Languages/(?!en.xaml)
|
||||
(?:^|/)Languages/(?!en\.xaml)
|
||||
Scripts/
|
||||
Plugins/Flow.Launcher.Plugin.WindowsSettings/Properties/
|
||||
Plugins/Flow.Launcher.Plugin.WindowsSettings/WindowsSettings.json
|
||||
Plugins/Flow.Launcher.Plugin.WebSearch/setting.json
|
||||
(?:^|/)FodyWeavers.xml
|
||||
\.resx$
|
||||
^\QPlugins/Flow.Launcher.Plugin.WindowsSettings/WindowsSettings.json\E$
|
||||
^\QPlugins/Flow.Launcher.Plugin.WebSearch/setting.json\E$
|
||||
(?:^|/)FodyWeavers\.xml
|
||||
.editorconfig
|
||||
ignore$
|
||||
\.ps1$
|
||||
|
|
|
|||
6
.github/actions/spelling/expect.txt
vendored
6
.github/actions/spelling/expect.txt
vendored
|
|
@ -57,4 +57,8 @@ runas
|
|||
dpi
|
||||
popup
|
||||
ptr
|
||||
pluginindicator
|
||||
pluginindicator
|
||||
TobiasSekan
|
||||
Img
|
||||
img
|
||||
resx
|
||||
|
|
|
|||
1
.github/actions/spelling/patterns.txt
vendored
1
.github/actions/spelling/patterns.txt
vendored
|
|
@ -111,6 +111,7 @@
|
|||
|
||||
# html tag
|
||||
<\w+[^>]*>
|
||||
</\w+[^>]*>
|
||||
|
||||
#http/https
|
||||
(?:\b(?:https?|ftp|file)://)[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]
|
||||
|
|
|
|||
4
.github/workflows/spelling.yml
vendored
4
.github/workflows/spelling.yml
vendored
|
|
@ -65,11 +65,11 @@ jobs:
|
|||
outputs:
|
||||
followup: ${{ steps.spelling.outputs.followup }}
|
||||
runs-on: ubuntu-latest
|
||||
if: "contains(github.event_name, 'pull_request') || github.event_name == 'push'"
|
||||
if: (contains(github.event_name, 'pull_request') && github.head_ref != 'l10n_dev') || github.event_name == 'push'
|
||||
concurrency:
|
||||
group: spelling-${{ github.event.pull_request.number || github.ref }}
|
||||
# note: If you use only_check_changed_files, you do not want cancel-in-progress
|
||||
cancel-in-progress: true
|
||||
cancel-in-progress: false
|
||||
steps:
|
||||
- name: check-spelling
|
||||
id: spelling
|
||||
|
|
|
|||
Loading…
Reference in a new issue