Skip to content

Commit

Permalink
remove pr comment step and pr write permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
sjspielman committed Mar 12, 2024
1 parent 56ba3af commit 94aee23
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
permissions:
contents: read
issues: write
pull-requests: write

steps:
- name: Checkout
Expand All @@ -64,18 +63,6 @@ jobs:
name: spell_check_errors
path: spell_check_errors.tsv


# This step is temporary for use during OpenScPCA launch prep.
- name: Post errors to PR if failed
if: ${{ github.event_name == 'pull_request' && steps.spell.outputs.error_count > 0 }}
uses: peter-evans/create-or-update-comment@v4
id: post-to-pr
with:
issue-number: ${{ github.event.pull_request.number }}
body: |
**Spellcheck failed!**
To see the errors, either you can [download this zip file](${{ steps.artifact-upload-step.outputs.artifact-url }}) or click `Details` in the failed action check.
# # Uncomment this job at OpenScPCA Launch
# - name: Post issue with spellcheck results
# id: spellissue
Expand Down

0 comments on commit 94aee23

Please sign in to comment.