Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Documentation for including additional info in the custom reply #9

Open
sayansil opened this issue Oct 7, 2020 · 0 comments
Open

Comments

@sayansil
Copy link

sayansil commented Oct 7, 2020

The github action works perfectly with my custom text reply, but I am not able to figure out a way to add additional information like the name of the person who made the toxic comment. How exactly should I go about this in my .yml file?

I have:

name: detox-messages
on: [issue_comment, pull_request_review]

jobs:
  toxic_check:
    runs-on: ubuntu-latest
    name: Toxicity check
    steps:
      - uses: actions/checkout@v2
      - name: Safe space - action step
        uses: charliegerard/safe-space@master
        with:
          GITHUB_TOKEN: ${{ secrets.DETOX_GITHUB_TOKEN }}
          message: "Hi <insert-name-here>. Please be kind on internet."
          toxicity_threshold: 0.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant