Skip to content

Changed method of generation of passwords and added error handling, along with function return types. #2394

Changed method of generation of passwords and added error handling, along with function return types.

Changed method of generation of passwords and added error handling, along with function return types. #2394

Workflow file for this run

name: "Issue Scripts"
on:
issue_comment:
types: [created]
jobs:
assign-check:
runs-on: ubuntu-latest
if: contains(github.event.comment.body, 'please assign') || contains(github.event.comment.body, 'assign me')
steps:
- uses: actions/github-script@v3
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
await github.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: "We don't assign issues to external contributors. Please comment that you're working on the issue after checking that no one else is, and then send a pull request for it. Thank You!"
})