Skip to content

Commit 079dfd7

Browse files
authored
Merge pull request #1760 from Flow-Launcher/StopSpellCheckOnPush
Stop spell check on push
2 parents a8d4f5d + 84f3a31 commit 079dfd7

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

.github/workflows/spelling.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ name: Check Spelling
3434
# For background, see: https://github.com/check-spelling/check-spelling/wiki/Feature:-Update-with-deploy-key
3535

3636
on:
37-
push:
38-
branches:
39-
- '**'
40-
- '!l10n_dev'
41-
tags-ignore:
42-
- "**"
37+
# push:
38+
# branches:
39+
# - '**'
40+
# - '!l10n_dev'
41+
# tags-ignore:
42+
# - "**"
4343
pull_request_target:
4444
branches:
4545
- '**'
@@ -65,7 +65,7 @@ jobs:
6565
outputs:
6666
followup: ${{ steps.spelling.outputs.followup }}
6767
runs-on: ubuntu-latest
68-
if: (contains(github.event_name, 'pull_request') && github.head_ref != 'l10n_dev') || github.event_name == 'push'
68+
if: (contains(github.event_name, 'pull_request') && github.head_ref != 'l10n_dev')
6969
concurrency:
7070
group: spelling-${{ github.event.pull_request.number || github.ref }}
7171
# note: If you use only_check_changed_files, you do not want cancel-in-progress
@@ -103,21 +103,21 @@ jobs:
103103

104104

105105

106-
comment-push:
107-
name: Report (Push)
108-
# If your workflow isn't running on push, you can remove this job
109-
runs-on: ubuntu-latest
110-
needs: spelling
111-
permissions:
112-
contents: write
113-
if: (success() || failure()) && needs.spelling.outputs.followup && github.event_name == 'push'
114-
steps:
115-
- name: comment
116-
uses: check-spelling/check-spelling@main
117-
with:
118-
checkout: true
119-
spell_check_this: check-spelling/spell-check-this@main
120-
task: ${{ needs.spelling.outputs.followup }}
106+
# comment-push:
107+
# name: Report (Push)
108+
# # If your workflow isn't running on push, you can remove this job
109+
# runs-on: ubuntu-latest
110+
# needs: spelling
111+
# permissions:
112+
# contents: write
113+
# if: (success() || failure()) && needs.spelling.outputs.followup && github.event_name == 'push'
114+
# steps:
115+
# - name: comment
116+
# uses: check-spelling/check-spelling@main
117+
# with:
118+
# checkout: true
119+
# spell_check_this: check-spelling/spell-check-this@main
120+
# task: ${{ needs.spelling.outputs.followup }}
121121

122122
comment-pr:
123123
name: Report (PR)

0 commit comments

Comments
 (0)