Skip to content

Commit dd77f04

Browse files
committed
🩹 Fix syntax-error in `remove-labels
1 parent fb5e4a3 commit dd77f04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

issues/remove-labels/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ runs:
3737
retries: ${{ inputs.retries }}
3838
retry-exempt-status-codes: ${{ inputs.retry-exempt-status-codes }}
3939
script: |
40-
for label in `${{ inputs.labels }}`.split(/[\n,]/).map(s => s.trim()).filter(s => s) {
40+
for (const label of `${{ inputs.labels }}`.split(/[\n,]/).map(s => s.trim()).filter(s => s)) {
4141
github.rest.issues.removeLabel({
4242
owner: `${{ inputs.owner }}` || context.repo.owner,
4343
repo: `${{ inputs.repo }}` || context.repo.repo,

0 commit comments

Comments
 (0)