Skip to content

Commit

Permalink
cleaned up spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
ellistarn committed Dec 30, 2021
1 parent 5f5e008 commit 576b6d5
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,19 @@ jobs:
# note: If you use only_check_changed_files, you do not want cancel-in-progress
cancel-in-progress: true
steps:
- name: checkout
uses: actions/checkout@v2
- name: checkout-merge
- uses: actions/checkout@v2
- uses: check-spelling/[email protected]
if: "contains(github.event_name, 'pull_request')"
uses: check-spelling/[email protected]
- name: check-spelling
- uses: check-spelling/[email protected]
if: env.MERGE_FAILED != '1'
id: spelling
uses: check-spelling/[email protected]
with:
suppress_push_for_open_pull_request: 1
post_comment: 0
extra_dictionaries:
cspell:aws/aws.txt
- name: store-comment
- uses: actions/upload-artifact@v2
if: failure() && steps.spelling.outputs.internal_state_directory
uses: actions/upload-artifact@v2
with:
retention-days: 1
name: "check-spelling-comment-${{ github.run_id }}"
Expand All @@ -52,18 +48,15 @@ jobs:
pull-requests: write
if: always() && needs.spelling.result == 'failure' && needs.spelling.outputs.internal_state_directory
steps:
- name: checkout
uses: actions/checkout@v2
- name: actions/checkout@v2
- name: set up
run: |
mkdir /tmp/data
- name: retrieve-comment
uses: actions/download-artifact@v2
- uses: actions/download-artifact@v2
with:
name: "check-spelling-comment-${{ github.run_id }}"
path: /tmp/data
- name: comment
uses: check-spelling/[email protected]
- uses: check-spelling/[email protected]
with:
custom_task: comment
internal_state_directory: /tmp/data
Expand Down

0 comments on commit 576b6d5

Please sign in to comment.