Skip to content

Commit

Permalink
remove spellcheck from workflow
Browse files Browse the repository at this point in the history
change spellcheck to manual launch rather than on every pull request. We want to update to use vale in the future so disabling for now
  • Loading branch information
nhennigan committed Nov 15, 2024
1 parent 61247b7 commit 412e4e2
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/docs-spelling-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Documentation Spelling Check

on:
workflow_dispatch:
pull_request:
paths:
- 'docs/**'
# pull_request:
# paths:
# - 'docs/**'

jobs:
spell-check:
Expand All @@ -18,13 +18,13 @@ jobs:
run: make spelling
working-directory: docs/canonicalk8s
continue-on-error: true
- if: ${{ github.event_name == 'pull_request' && steps.spell-check.outcome == 'failure' }}
uses: actions/github-script@v6
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'Hi, looks like pyspelling job found some issues, you can check it [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})'
})
# - if: ${{ github.event_name == 'pull_request' && steps.spell-check.outcome == 'failure' }}
# uses: actions/github-script@v6
# with:
# script: |
# github.rest.issues.createComment({
# issue_number: context.issue.number,
# owner: context.repo.owner,
# repo: context.repo.repo,
# body: 'Hi, looks like pyspelling job found some issues, you can check it [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})'
# })

0 comments on commit 412e4e2

Please sign in to comment.