Skip to content

Commit 80f84da

Browse files
Merge pull request #214 from RocketPy-Team/MAINT/autoassign_workflows
MAINT: auto assign workflows
2 parents 2432ea8 + 5d4774b commit 80f84da

File tree

3 files changed

+54
-0
lines changed

3 files changed

+54
-0
lines changed

.github/auto-assign.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Set to true to add reviewers to PRs
2+
addReviewers: true
3+
4+
# Set to 'author' to add PR's author as a assignee
5+
addAssignees: author
6+
7+
# A list of reviewers to be added to PRs (GitHub user name)
8+
reviewers:
9+
- Gui-FernandesBR
10+
- giovaniceotto
11+
- MateusStano
12+
13+
# A number of reviewers added to the PR
14+
# Set 0 to add all the reviewers (default: 0)
15+
numberOfReviewers: 0
16+
17+
# A list of keywords to be skipped the process if PR's title include it
18+
skipKeywords:
19+
- wip
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Auto Assign to Project(s)
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
pull_request:
7+
types: [opened]
8+
env:
9+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10+
11+
jobs:
12+
assign_one_project:
13+
runs-on: ubuntu-latest
14+
name: Assign to One Project
15+
steps:
16+
- name: Assign NEW issues and NEW pull requests to RocketPy's main project
17+
uses: srggrs/[email protected]
18+
if: github.event.action == 'opened'
19+
with:
20+
project: 'https://github.com/orgs/RocketPy-Team/projects/1'
21+
column_name: '🆕 New'

.github/workflows/auto-assign.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Auto Assign Issues and PRs once opened
2+
on:
3+
issues:
4+
types: [opened]
5+
pull_request:
6+
types: [opened]
7+
jobs:
8+
run:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: bubkoo/auto-assign@v1
12+
with:
13+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14+
CONFIG_FILE: .github/auto-assign.yml

0 commit comments

Comments
 (0)