mirror of
https://github.com/charliegerard/safe-space.git
synced 2024-10-03 16:47:09 +03:00
update
This commit is contained in:
parent
b4b97a911c
commit
dea94252b9
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -3,10 +3,10 @@ on: [issue_comment, pull_request_review]
|
||||
jobs:
|
||||
toxic_check:
|
||||
runs-on: ubuntu-latest
|
||||
name: Don't you know that you're toxic
|
||||
name: Safe space
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Don't you know that you're toxic - action step
|
||||
uses: charliegerard/dont-you-know-that-youre-toxic@master
|
||||
- name: Safe space - action step
|
||||
uses: charliegerard/safe-space@master
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
@ -631,7 +631,7 @@ to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
Don't you know that you're toxic - Github action to detect toxicity of comments
|
||||
Safe space - Github action to detect toxicity of comments
|
||||
Copyright (C) 2020 Charlie Gerard
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
Don't you know that you're toxic - Github action to detect toxicity of comments - Copyright (C) 2020 Charlie Gerard
|
||||
Safe space - Github action to detect toxicity of comments - Copyright (C) 2020 Charlie Gerard
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
16
README.md
16
README.md
@ -1,4 +1,4 @@
|
||||
# Don't you know that you're toxic - Github action
|
||||
# Safe space - Github action
|
||||
|
||||
Github action that uses machine learning to detect potential toxic comments added to PRs and issues so authors can have a chance to edit them and keep repos a safe space.
|
||||
|
||||
@ -10,7 +10,7 @@ It currently works when comments are posted on issues and PRs, as well as when p
|
||||
|
||||
![](demo.gif)
|
||||
|
||||
You can check [this example PR](https://github.com/charliegerard/dont-you-know-that-youre-toxic/pull/1)
|
||||
You can check [this example PR](https://github.com/charliegerard/safe-space/pull/1)
|
||||
|
||||
## How to use
|
||||
|
||||
@ -24,11 +24,11 @@ on: [issue_comment, pull_request_review]
|
||||
jobs:
|
||||
toxic_check:
|
||||
runs-on: ubuntu-latest
|
||||
name: Don't you know that you're toxic
|
||||
name: Safe space
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Don't you know that you're toxic - action step
|
||||
uses: charliegerard/dont-you-know-that-youre-toxic@master
|
||||
- name: Safe space - action step
|
||||
uses: charliegerard/safe-space@master
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
```
|
||||
@ -44,11 +44,11 @@ on: [issue_comment, pull_request_review]
|
||||
jobs:
|
||||
toxic_check:
|
||||
runs-on: ubuntu-latest
|
||||
name: Don't you know that you're toxic
|
||||
name: Toxicity check
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Don't you know that you're toxic - action step
|
||||
uses: charliegerard/dont-you-know-that-youre-toxic@master
|
||||
- name: Safe space - action step
|
||||
uses: charliegerard/safe-space@master
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
message: "this is my custom message"
|
||||
|
@ -1,4 +1,4 @@
|
||||
name: "Don't you know that you're toxic"
|
||||
name: "Safe space"
|
||||
description: "Detect the potential toxicity of PR comments"
|
||||
inputs:
|
||||
GITHUB_TOKEN:
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "dont-you-know-that-youre-toxic",
|
||||
"name": "safe-space",
|
||||
"version": "1.0.0",
|
||||
"description": "A Github action to detect the toxicity of comments in PRs and issues",
|
||||
"main": "dist/index.js",
|
||||
@ -12,7 +12,7 @@
|
||||
"devDependencies": {},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/charliegerard/dont-you-know-that-youre-toxic.git"
|
||||
"url": "git+https://github.com/charliegerard/safe-space.git"
|
||||
},
|
||||
"keywords": [
|
||||
"Tensorflow.js",
|
||||
@ -27,7 +27,7 @@
|
||||
"author": "Charlie Gerard - @devdevcharlie",
|
||||
"license": "ISC",
|
||||
"bugs": {
|
||||
"url": "https://github.com/charliegerard/dont-you-know-that-youre-toxic/issues"
|
||||
"url": "https://github.com/charliegerard/safe-space/issues"
|
||||
},
|
||||
"homepage": "https://github.com/charliegerard/dont-you-know-that-youre-toxic#readme"
|
||||
"homepage": "https://github.com/charliegerard/safe-space#readme"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user