DELETED .github/auto-assignment.yml Index: .github/auto-assignment.yml ================================================================== --- .github/auto-assignment.yml +++ .github/auto-assignment.yml @@ -1,19 +0,0 @@ -on: - issues: - types: - - opened - pull_request: - types: - - opened -permissions: - contents: read - issues: write - pull-requests: write -jobs: - default: - runs-on: ubuntu-latest - steps: - - run: gh issue edit ${{ github.event.issue.number }} --add-assignee ${{ github.repository_owner }} - env: - GH_TOKEN: ${{ github.token }} - GH_REPO: ${{ github.repository }} ADDED .github/workflows/auto-assignment.yml Index: .github/workflows/auto-assignment.yml ================================================================== --- .github/workflows/auto-assignment.yml +++ .github/workflows/auto-assignment.yml @@ -0,0 +1,19 @@ +on: + issues: + types: + - opened + pull_request: + types: + - opened +permissions: + contents: read + issues: write + pull-requests: write +jobs: + default: + runs-on: ubuntu-latest + steps: + - run: gh issue edit ${{ github.event.issue.number }} --add-assignee ${{ github.repository_owner }} + env: + GH_TOKEN: ${{ github.token }} + GH_REPO: ${{ github.repository }}