Skip to content

Feature: Allow Posting it as Comment #24

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
rowi1de opened this issue Mar 6, 2022 · 5 comments
Closed

Feature: Allow Posting it as Comment #24

rowi1de opened this issue Mar 6, 2022 · 5 comments

Comments

@rowi1de
Copy link

rowi1de commented Mar 6, 2022

Please add a feature that allows switching from Description to Comment.

   
name: Pull Request Stats

on: 
  pull_request:
    types: [opened]
  

jobs:
  stats:
    runs-on: ubuntu-latest
    steps:
      - name: Run pull request stats
        uses: flowwer-dev/pull-request-stats@master
        with:
          comment: true # set trigger accordingly, default is opened, synchronize, and reopened
@rowi1de
Copy link
Author

rowi1de commented Mar 6, 2022

Same as #14

@manuelmhtr
Copy link
Contributor

Hi @rowi1de. You are right, commenting works when configuring the trigger correctly. I'll include this option in the next version. Let me find some time to work on that.

@DaniAkash
Copy link

@manuelmhtr when the PR body is edited - the unfurling of pr links prints the users as preview image. This makes the PR previews when shared on slack awkward

@manuelmhtr
Copy link
Contributor

Hi @DaniAkash, I see. I make posting as comment makes ever more sense. Let me do some time this week to launch this feature.

@manuelmhtr
Copy link
Contributor

Hi @rowi1de @DaniAkash, publishing as comment is now available in v2.4.0. It's now the default behavior and configurable with the publish-as option.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants