Skip to content

Commit

Permalink
Merge pull request #51 from codePerfectPlus/branch-3
Browse files Browse the repository at this point in the history
feature: auto assign workflow fixed
  • Loading branch information
DrakeEntity committed Oct 21, 2022
2 parents 291ccab + b3cd250 commit 549a264
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 58 deletions.
18 changes: 3 additions & 15 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,20 @@ labels: bug
assignees: ''

---
**Are you using latest code**

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Pythonversion**
- Python version

**Additional context**
Add any other context about the problem here.
2 changes: 0 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,3 @@ A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
26 changes: 0 additions & 26 deletions .github/ISSUE_TEMPLATE/report_a_bug.md

This file was deleted.

1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

# Pull Request Template

**script name** -
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/add_labels.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Add Labels

on:
pull_request:
types: opened

jobs:
add_labels:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-ecosystem/action-add-labels@v1
if: ${{ startsWith(github.event.comment.body, '/add-labels') }}
with:
labels: |
ready-for-review
opened
29 changes: 14 additions & 15 deletions .github/workflows/auto_assign.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
# A list of reviewers to be added to PRs (GitHub user name)
reviewers:
- codePerfectPlus
- drakeEntity
- aayushi-droid
name: PR assignment

# A number of reviewers added to the PR
# Set 0 to add all the reviewers (default: 0)
numberOfReviewers: 2
on:
pull_request:
types: [opened, edited, synchronize, reopened]

# A list of assignees, overrides reviewers if set
assignees:
- codePerfectPlus

# A number of assignees to add to the PRs
# Set to 0 to add all of the assignees.
# Uses numberOfReviewers if unset.
jobs:
auto-assign:
runs-on: ubuntu-latest
steps:
- name: 'Auto-assign PR'
uses: pozil/auto-assign-issue@v1
with:
repo-token: ${{ github.token }}
teams: support
numOfAssignee: 1

0 comments on commit 549a264

Please sign in to comment.