We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c04b0f5 commit b893fb0Copy full SHA for b893fb0
.github/workflows/fast-track.yml
@@ -11,9 +11,5 @@ jobs:
11
- name: Request Fast-Track
12
if: github.event.label.name == 'fast-track'
13
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." }'
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: gh pr comment ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --body "Fast-track has been requested. Please 👍 to approve."
0 commit comments