Skip to content

Auto Assign Issues

Auto Assign Issues #2

Workflow file for this run

---
name: Auto Assign Issues
on:
issues:
types: [opened]
jobs:
assign:
runs-on: ubuntu-latest
steps:
- name: Assign issue to repository owner
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
# https://docs.github.com/en/github-cli
# https://cli.github.com/manual/gh_issue
gh issue edit "${{ github.event.issue.number }}" --add-assignee "${{ github.repository_owner }}"