Skip to content

Commit

Permalink
Update auto-assign-issue.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tinpham5614 authored May 27, 2024
1 parent cfefbd9 commit c3836f0
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .github/workflows/auto-assign-issue.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
name: Auto-assign Issue
name: Auto-assign issues and pull requests

on:
issues:
types: [opened]

permissions:
issues: write
types:
- opened
pull_request:
types:
- opened

jobs:
auto-assign:
run:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: pozil/auto-assign-issue@v1
- name: Assign issues and pull requests
uses: gustavofreze/[email protected]
with:
repo-token: ${{ secrets.AUTO_ASSIGN_ISSUE_TOKEN }}
assignees: ${{ github.actor }}
assignees: 'user1,user2'
github_token: '${{ secrets.AUTO_ASSIGN_ISSUE_TOKEN }}'
assignment_options: 'ISSUE,PULL_REQUEST'

0 comments on commit c3836f0

Please sign in to comment.