Skip to content

Commit

Permalink
修正Auto Assign action触发条件
Browse files Browse the repository at this point in the history
  • Loading branch information
Val-istar-Guo committed May 4, 2024
1 parent 05fe132 commit 567a287
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 17 deletions.
6 changes: 6 additions & 0 deletions .github/auto-assign.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
addReviewers: false
addAssignees: true
numberOfReviewers: 0
numberOfAssignees: 0
assignees:
- Val-istar-Guo
23 changes: 6 additions & 17 deletions .github/workflows/auto-assign.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,12 @@
name: Auto Assign
name: "Auto Assign"
on:
issues:
types: [opened, edited, labeled, unlabeled]
pull_request:
types: [opened, edited, labeled, unlabeled]
types: [opened, ready_for_review]

jobs:
run:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: wow-actions/auto-assign@v3
- uses: kentaro-m/auto-assign-action@v2.0.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# using the `org/team_slug` or `/team_slug` syntax to add git team as reviewers
# reviewers: |
# reviewer1
# reviewer2
# reviewer3
# org/teamReviewerA
# org/teamReviewerB
# /teamReviewerC
assignees: val-istar-guo
skipKeywords: wip, draft
configuration-path: ".github/auto-assign.yml"

0 comments on commit 567a287

Please sign in to comment.