From 2604b01f05deb842a26e5aee2c4606cac8ce17db Mon Sep 17 00:00:00 2001 From: VictoriousRaptor <10308169+VictoriousRaptor@users.noreply.github.com> Date: Tue, 3 Jan 2023 19:09:16 +0800 Subject: [PATCH 1/2] Stop spell check on push [ci skip] --- .github/workflows/spelling.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml index 6037c100e..2a1f070da 100644 --- a/.github/workflows/spelling.yml +++ b/.github/workflows/spelling.yml @@ -65,7 +65,7 @@ jobs: outputs: followup: ${{ steps.spelling.outputs.followup }} 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: group: spelling-${{ github.event.pull_request.number || github.ref }} # note: If you use only_check_changed_files, you do not want cancel-in-progress @@ -103,21 +103,21 @@ jobs: - comment-push: - name: Report (Push) - # If your workflow isn't running on push, you can remove this job - runs-on: ubuntu-latest - needs: spelling - permissions: - contents: write - if: (success() || failure()) && needs.spelling.outputs.followup && github.event_name == 'push' - steps: - - name: comment - uses: check-spelling/check-spelling@main - with: - checkout: true - spell_check_this: check-spelling/spell-check-this@main - task: ${{ needs.spelling.outputs.followup }} +# comment-push: +# name: Report (Push) +# # If your workflow isn't running on push, you can remove this job +# runs-on: ubuntu-latest +# needs: spelling +# permissions: +# contents: write +# if: (success() || failure()) && needs.spelling.outputs.followup && github.event_name == 'push' +# steps: +# - name: comment +# uses: check-spelling/check-spelling@main +# with: +# checkout: true +# spell_check_this: check-spelling/spell-check-this@main +# task: ${{ needs.spelling.outputs.followup }} comment-pr: name: Report (PR) From 84f3a31dde084b1aaeb96dda38b221c1704b63e3 Mon Sep 17 00:00:00 2001 From: VictoriousRaptor <10308169+VictoriousRaptor@users.noreply.github.com> Date: Wed, 4 Jan 2023 01:20:54 +0800 Subject: [PATCH 2/2] Disable action on push [ci skip] --- .github/workflows/spelling.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml index 2a1f070da..df962a675 100644 --- a/.github/workflows/spelling.yml +++ b/.github/workflows/spelling.yml @@ -34,12 +34,12 @@ name: Check Spelling # For background, see: https://github.com/check-spelling/check-spelling/wiki/Feature:-Update-with-deploy-key on: - push: - branches: - - '**' - - '!l10n_dev' - tags-ignore: - - "**" +# push: +# branches: +# - '**' +# - '!l10n_dev' +# tags-ignore: +# - "**" pull_request_target: branches: - '**'