Skip to content

Commit

Permalink
[Squash] nit
Browse files Browse the repository at this point in the history
Co-authored-by: Michaël Zasso <targos@protonmail.com>
  • Loading branch information
jasnell and targos committed Apr 28, 2021
1 parent c04b0f5 commit b893fb0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/fast-track.yml
Expand Up @@ -11,9 +11,5 @@ jobs:
- name: Request Fast-Track
if: github.event.label.name == 'fast-track'
env:
COMMENTS_URL: ${{ github.event.issue.comments_url || github.event.pull_request.comments_url }}
run: |
curl -X POST $COMMENTS_URL \
-H "Content-Type: application/json" \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
--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 comments on commit b893fb0

Please sign in to comment.