Skip to content

Commit d55d503

Browse files
committed
Remove checkout from comment jobs
check-spelling v0.0.26 does not need to check out to comment.
1 parent bc282cd commit d55d503

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

.github/workflows/spelling.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ jobs:
139139
- name: comment
140140
uses: check-spelling/check-spelling@prerelease
141141
with:
142-
checkout: true
143142
spell_check_this: check-spelling/spell-check-this@prerelease
144143
task: ${{ needs.spelling.outputs.followup }}
145144

@@ -150,14 +149,12 @@ jobs:
150149
needs: spelling
151150
permissions:
152151
actions: read
153-
contents: read
154152
pull-requests: write
155153
if: (success() || failure()) && needs.spelling.outputs.followup && contains(github.event_name, 'pull_request')
156154
steps:
157155
- name: comment
158156
uses: check-spelling/check-spelling@prerelease
159157
with:
160-
checkout: true
161158
spell_check_this: check-spelling/spell-check-this@prerelease
162159
task: ${{ needs.spelling.outputs.followup }}
163160
experimental_apply_changes_via_bot: 1

0 commit comments

Comments
 (0)