]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix Auto-PR comment on squash-label
authorFlole998 <Flole998@users.noreply.github.com>
Wed, 21 Feb 2024 20:24:36 +0000 (21:24 +0100)
committerGitHub <noreply@github.com>
Wed, 21 Feb 2024 20:24:36 +0000 (21:24 +0100)
.github/workflows/comment-on-labels.yml

index 4235a384b39b8ba553cd55af27b60ceab93cca20..b662784867ddf7ee614d4aba28095ca316dfb417 100644 (file)
@@ -11,11 +11,11 @@ jobs:
       issues: write
     steps:
       - name: Add comment
-        run: gh issue comment "$NUMBER" --body "$BODY"
+        run: gh pr comment "$NUMBER" --body "$BODY"
         env:
           GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
           GH_REPO: ${{ github.repository }}
-          NUMBER: ${{ github.event.issue.number }}
+          NUMBER: ${{ github.event.number }}
           BODY: >
             Please squash your commits together in order to get htem merged
             :sparkles: Thank you for your contribution! :sparkles: