Skip to content

Auto Assign Issues #188

Auto Assign Issues

Auto Assign Issues #188

Workflow file for this run

name: Auto Assign Issues
on:
issue_comment:
types: [created]
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
assign_issues:
if: >
(github.event_name == 'issue_comment' && (
startsWith(github.event.comment.body, '/assign') ||
startsWith(github.event.comment.body, '/unassign') ||
contains(github.event.comment.body, 'assign to me') ||
contains(github.event.comment.body, 'please assign me this') ||
contains(github.event.comment.body, 'assign this to me') ||
contains(github.event.comment.body, 'assign this issue to me') ||
contains(github.event.comment.body, 'I can try fixing this') ||
contains(github.event.comment.body, 'i am interested in doing this') ||
contains(github.event.comment.body, 'I am interested in contributing'))) || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Assign Issues
uses: OWASP/BLT-Action@main
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}