mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Merge pull request #1760 from Flow-Launcher/StopSpellCheckOnPush
Stop spell check on push
This commit is contained in:
commit
079dfd7faa
1 changed files with 22 additions and 22 deletions
44
.github/workflows/spelling.yml
vendored
44
.github/workflows/spelling.yml
vendored
|
|
@ -34,12 +34,12 @@ name: Check Spelling
|
||||||
# For background, see: https://github.com/check-spelling/check-spelling/wiki/Feature:-Update-with-deploy-key
|
# For background, see: https://github.com/check-spelling/check-spelling/wiki/Feature:-Update-with-deploy-key
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
# push:
|
||||||
branches:
|
# branches:
|
||||||
- '**'
|
# - '**'
|
||||||
- '!l10n_dev'
|
# - '!l10n_dev'
|
||||||
tags-ignore:
|
# tags-ignore:
|
||||||
- "**"
|
# - "**"
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
branches:
|
branches:
|
||||||
- '**'
|
- '**'
|
||||||
|
|
@ -65,7 +65,7 @@ jobs:
|
||||||
outputs:
|
outputs:
|
||||||
followup: ${{ steps.spelling.outputs.followup }}
|
followup: ${{ steps.spelling.outputs.followup }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: (contains(github.event_name, 'pull_request') && github.head_ref != 'l10n_dev') || github.event_name == 'push'
|
if: (contains(github.event_name, 'pull_request') && github.head_ref != 'l10n_dev')
|
||||||
concurrency:
|
concurrency:
|
||||||
group: spelling-${{ github.event.pull_request.number || github.ref }}
|
group: spelling-${{ github.event.pull_request.number || github.ref }}
|
||||||
# note: If you use only_check_changed_files, you do not want cancel-in-progress
|
# note: If you use only_check_changed_files, you do not want cancel-in-progress
|
||||||
|
|
@ -103,21 +103,21 @@ jobs:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
comment-push:
|
# comment-push:
|
||||||
name: Report (Push)
|
# name: Report (Push)
|
||||||
# If your workflow isn't running on push, you can remove this job
|
# # If your workflow isn't running on push, you can remove this job
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
needs: spelling
|
# needs: spelling
|
||||||
permissions:
|
# permissions:
|
||||||
contents: write
|
# contents: write
|
||||||
if: (success() || failure()) && needs.spelling.outputs.followup && github.event_name == 'push'
|
# if: (success() || failure()) && needs.spelling.outputs.followup && github.event_name == 'push'
|
||||||
steps:
|
# steps:
|
||||||
- name: comment
|
# - name: comment
|
||||||
uses: check-spelling/check-spelling@main
|
# uses: check-spelling/check-spelling@main
|
||||||
with:
|
# with:
|
||||||
checkout: true
|
# checkout: true
|
||||||
spell_check_this: check-spelling/spell-check-this@main
|
# spell_check_this: check-spelling/spell-check-this@main
|
||||||
task: ${{ needs.spelling.outputs.followup }}
|
# task: ${{ needs.spelling.outputs.followup }}
|
||||||
|
|
||||||
comment-pr:
|
comment-pr:
|
||||||
name: Report (PR)
|
name: Report (PR)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue