Skip to content

BOT Works - BUT .... #6

BOT Works - BUT ....

BOT Works - BUT .... #6

Workflow file for this run

name: Auto Assign Issues
permissions:
issues: write
on:
issues:
types: [opened]
jobs:
assign_issue:
runs-on: ubuntu-latest
steps:
- name: Assign issue to maintainer
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
await github.rest.issues.addAssignees({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
assignees: ['akegaviar']
});