8000 react to comment · python/python-docs-es@c6cd5c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit c6cd5c9

Browse files
committed
react to comment
1 parent 89efe08 commit c6cd5c9
8000

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/pospell-on-demand.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,13 @@ jobs:
1212
if: ${{ github.event.issue.pull_request && github.event.comment.body == 'pospell-fix' }}
1313
steps:
1414
- name: Confirmar ejecucion
15-
uses: actions/github-script@v6
16-
with:
17-
script: |
18-
await github.rest.issues.createForIssueComment({
19-
context.repo.owner,
20-
context.repo.repo,
21-
comment_id: context.payload.comment.id,
22-
content: "+1",
23-
});
15+
continue-on-error: true
16+
run: |
17+
curl ${{github.event.comment.url}}/reactions \
18+
-X POST \
19+
-d '{"content":"+1"}' \
20+
-H "Accept: application/vnd.github.squirrel-girl-preview+json" \
21+
-H "Authorization: token ${{github.token}}"
2422
- uses: actions/checkout@v3
2523
- name: Preparar Python v3.10
2624
uses: actions/setup-python@v4

0 commit comments

Comments
 (0)
0