Skip to content

Commit

Permalink
Update issue handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
govhosting committed Aug 8, 2024
1 parent dbcfca1 commit c7a424e
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/issues-opened.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Issue assignment

on:
issues:
types: [opened]

jobs:
auto-assign:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: "Auto-assign issue"
uses: pozil/auto-assign-issue@v2
with:
assignees: steveworley,yusufhm
allowSelfAssign: false
File renamed without changes.
18 changes: 18 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: PR assignment

on:
pull_request:
types: [opened, edited, synchronize, reopened]

jobs:
auto-assign:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: 'Auto-assign PR'
uses: pozil/auto-assign-issue@v2
with:
repo-token: ${{ secrets.MY_PERSONAL_ACCESS_TOKEN }}
teams: support
numOfAssignee: 1

0 comments on commit c7a424e

Please sign in to comment.