90e53bcc6aba67e9e27c4e6961cb4a0eec34d436

Author
Marc Cornellà <hello@mcornella.com>
Committer
Marc Cornellà <hello@mcornella.com>
Date

Message

ci(spelling): turn off check-spelling action temporarily

Diff

This diff is truncated to protect this page.

  1diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml
  2deleted file mode 100644
  3index 946d411d1ac035d61db6c16c77841f84fb575253..0000000000000000000000000000000000000000
  4--- a/.github/workflows/spelling.yml
  5+++ /dev/null
  6@@ -1,103 +0,0 @@
  7-name: Spell checking
  8-on:
  9-  push:
 10-    branches: ["**"]
 11-    tags-ignore: ["**"]
 12-  pull_request_target:
 13-  issue_comment:
 14-    types: [created]
 15-
 16-jobs:
 17-  spelling:
 18-    name: Spell checking
 19-    permissions:
 20-      contents: read
 21-      pull-requests: read
 22-    outputs:
 23-      internal_state_directory: ${{ steps.spelling.outputs.internal_state_directory }}
 24-    runs-on: ubuntu-latest
 25-    if: "contains(github.event_name, 'pull_request') || github.event_name == 'push'"
 26-    concurrency:
 27-      group: spelling-${{ github.event.pull_request.number || github.ref }}
 28-      # note: If you use only_check_changed_files, you do not want cancel-in-progress
 29-      cancel-in-progress: true
 30-    steps:
 31-    - name: checkout-merge
 32-      if: "contains(github.event_name, 'pull_request')"
 33-      uses: actions/checkout@v2
 34-      with:
 35-        ref: refs/pull/${{github.event.pull_request.number}}/merge
 36-    - name: checkout
 37-      if: github.event_name == 'push'
 38-      uses: actions/checkout@v2
 39-    - name: find aliases
 40-      run: |
 41-        for a in $(git ls-files|grep '\.zsh$'); do
 42-          echo "-- $a"
 43-          if [ -s "$a" ]; then
 44-            perl -ne 'next unless s/^alias ([A-Za-z]{3,})=.*/$1/;print' "$a" | tee -a .github/actions/spelling/allow.txt
 45-          fi
 46-        done;
 47-    - name: check-spelling
 48-      id: spelling
 49-      uses: check-spelling/check-spelling@prerelease
 50-      with:
 51-        experimental_apply_changes_via_bot: 1
 52-        suppress_push_for_open_pull_request: 1
 53-        post_comment: 0
 54-    - name: store-comment
 55-      if: failure()
 56-      uses: actions/upload-artifact@v2
 57-      with:
 58-        retention-days: 1
 59-        name: "check-spelling-comment-${{ github.run_id }}"
 60-        path: |
 61-          ${{ steps.spelling.outputs.internal_state_directory }}
 62-
 63-  comment:
 64-    name: Comment
 65-    runs-on: ubuntu-latest
 66-    needs: spelling
 67-    permissions:
 68-      contents: write
 69-      pull-requests: write
 70-    if: always() && needs.spelling.result == 'failure' && needs.spelling.outputs.internal_state_directory
 71-    steps:
 72-    - name: checkout
 73-      uses: actions/checkout@v2
 74-    - name: set up
 75-      run: |
 76-        mkdir /tmp/data
 77-    - name: retrieve-comment
 78-      uses: actions/download-artifact@v2
 79-      with:
 80-        name: "check-spelling-comment-${{ github.run_id }}"
 81-        path: /tmp/data
 82-    - name: comment
 83-      uses: check-spelling/check-spelling@prerelease
 84-      with:
 85-        experimental_apply_changes_via_bot: 1
 86-        custom_task: comment
 87-        internal_state_directory: /tmp/data
 88-
 89-  update:
 90-    name: Update PR
 91-    permissions:
 92-      contents: write
 93-      pull-requests: write
 94-    runs-on: ubuntu-latest
 95-    if: ${{
 96-        github.event_name == 'issue_comment' &&
 97-        github.event.issue.pull_request &&
 98-        contains(github.event.comment.body, '@check-spelling-bot apply')
 99-      }}
100-    concurrency:
101-      group: spelling-update-${{ github.event.issue.number }}
102-      cancel-in-progress: false
103-    steps:
104-    - name: checkout
105-      uses: actions/checkout@v2