Giter VIP home page Giter VIP logo

delete-comment's Introduction

Hello ๐Ÿ‘‹

I'm Zhihao Zhang, a Lead Consultant/Data Engineer @ThoughtWorksInc.

  • ๐Ÿ“ซ Reach me: [email protected]
  • ๐ŸŽค I speak: Scala, Kotlin, Java, TypeScript, Python
  • ๐Ÿ’— I love: Functional Programming

delete-comment's People

Contributors

apomalyn avatar brtkwr avatar delissonjunio avatar dependabot[bot] avatar izhangzhihao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

delete-comment's Issues

Pull request comment can not be deleted

image

I tried to delete the comment from the Amplify bot with your GitHub actions, but it didn't work at all.

my yml file

name: delete comments from open-collective-bot
on:
  workflow_dispatch:
jobs:
  delete-comments:
    runs-on: ubuntu-latest
    steps:
      - uses: izhangzhihao/delete-comment@master
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          delete_user_name: aws-amplify-ap-southeast-2[bot]
          issue_number: ${{ github.event.number }} # remove comments from the current PR

Error if there are no comments yet

hi, i like your action, it's very useful.

i get an error when i run the action when there are no comments yet.

Is there any way to know the amount of comments that a user made??, or it would be possible that you adapt the action so that if there are no comments in the pull request of that user, it simply does not run

again, i like your action, and thank you

issue_number is ignored

From logs, looks like the issue_number is the correct one, but it actually remove comments from another PR.

image

Specify PR to delete comments on?

This action is pretty useful for us! Except for the fact that it'll delete comments across the repo ๐Ÿ˜ข Would you accept a PR adding a PR number parameter that can be used to nail this down to a single PR?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.