Skip to content

Commit b893fb0

Browse files
jasnelltargos
andauthored
[Squash] nit
Co-authored-by: Michaël Zasso <targos@protonmail.com>
1 parent c04b0f5 commit b893fb0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/fast-track.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,5 @@ jobs:
1111
- name: Request Fast-Track
1212
if: github.event.label.name == 'fast-track'
1313
env:
14-
COMMENTS_URL: ${{ github.event.issue.comments_url || github.event.pull_request.comments_url }}
15-
run: |
16-
curl -X POST $COMMENTS_URL \
17-
-H "Content-Type: application/json" \
18-
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
19-
--data '{ "body": "Fast-track has been requested. Please 👍 to approve." }'
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
run: gh pr comment ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --body "Fast-track has been requested. Please 👍 to approve."

0 commit comments

Comments
 (0)