Skip to content

Commit

Permalink
Merge pull request #96 from ABD-01/master
Browse files Browse the repository at this point in the history
Added Github Workflows
  • Loading branch information
rdlynx19 authored Jul 5, 2022
2 parents d7c11a5 + 59beeb4 commit e6b3be8
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 0 deletions.
66 changes: 66 additions & 0 deletions .github/reviewers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# https://github.com/marketplace/actions/auto-request-review
reviewers:
# The default reviewers
defaults:
- default-reviewers

groups:
default-reviewers:
- team:repo-maintainer
controls:
- aditya-shirwatkar
- Kush0301
nlp:
- rishika2110
- GlazeDonuts
- aayush-fadia
- aneesh-shetye
- Diksha942
- Kshitij-Ambilduke
ros:
- Kush0301
- prakrutk
rl:
- RajGhugare19
- M-NEXT
cv:
- FlagArihant2000
- take2rohit
- pareespathak
dl:
# - GlazeDonuts
# - rishika2110
# - aayush-fadia
# - take2rohit
- Kshitij-Ambilduke
- sibam23
- vignesh-creator



files:
# Keys are glob expressions.
# You can assign groups defined above as well as GitHub usernames.
'**':
- default-reviewers # group
'controls-and-dynamics/**':
- controls # group
'computer-vision/**':
- cv # group
'deep-learning/**':
- dl # group
'natural-language-processing/**':
- nlp # group
'robot-operating-system/**':
- ros # group
'reinforcement-learning/**':
- rl
'.github/**':
- ABD-01 # username

options:
ignore_draft: true
ignored_keywords:
- DO NOT REVIEW
enable_group_assignment: false
number_of_reviewers: 5
18 changes: 18 additions & 0 deletions .github/workflows/auto_request_review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Auto Request Review

on:
pull_request:
types: [opened, reopened]

jobs:
auto-request-review:
name: Auto Request Review
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Request review based on files changes and/or groups the author belongs to
uses: necojackarc/auto-request-review@v0.7.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
config: .github/reviewers.yml # Config file location override
2 changes: 2 additions & 0 deletions .github/workflows/comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
types: [opened]
pull_request_target:
types: [opened]
pull_request:
types: [opened]

jobs:
welcome:
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
### https://github.com/actions/stale
name: Mark stale issues and pull requests

on:
schedule:
- cron: '32 16 * * *'

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 30
days-before-close: 7
stale-issue-label: 'inactive'
stale-pr-label: 'inactive'
stale-issue-message: 'This issue has not seen activity for a while. It will be closed in 7 days unless further activity is detected.'
stale-pr-message: 'This PR has not seen activitiy for a while. It will be closed in 7 days unless further activity is detected.'
close-issue-message: 'This issue has been closed because of inactivity.'
close-pr-message: 'This PR has been closed because of inactivity.'
# only-issue-labels: 'Critical'
# exempt-pr-labels: 'Dont merge,WIP'

0 comments on commit e6b3be8

Please sign in to comment.