workflows: log issues
This commit is contained in:
@@ -11,7 +11,8 @@ jobs:
|
||||
- uses: actions/github-script@v7
|
||||
with:
|
||||
script: |
|
||||
const body = context.payload.issue.body?.toLowerCase() ?? ""
|
||||
const body = context.payload.issue.body?.toLowerCase() ?? "";
|
||||
console.log(context.payload.issue)
|
||||
const badBody = body.includes("a clear and concise description of what the bug is.")
|
||||
if (badBody) {
|
||||
await github.rest.issues.update({
|
||||
|
||||
Reference in New Issue
Block a user