diff --git a/.github/auto-assign.yml b/.github/auto-assign.yml new file mode 100644 index 000000000..740c50523 --- /dev/null +++ b/.github/auto-assign.yml @@ -0,0 +1,19 @@ +# Set to true to add reviewers to PRs +addReviewers: true + +# Set to 'author' to add PR's author as a assignee +addAssignees: author + +# A list of reviewers to be added to PRs (GitHub user name) +reviewers: + - Gui-FernandesBR + - giovaniceotto + - MateusStano + +# A number of reviewers added to the PR +# Set 0 to add all the reviewers (default: 0) +numberOfReviewers: 0 + +# A list of keywords to be skipped the process if PR's title include it +skipKeywords: + - wip diff --git a/.github/workflows/auto-assign-projects b/.github/workflows/auto-assign-projects new file mode 100644 index 000000000..0c75b7aed --- /dev/null +++ b/.github/workflows/auto-assign-projects @@ -0,0 +1,21 @@ +name: Auto Assign to Project(s) + +on: + issues: + types: [opened] + pull_request: + types: [opened] +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + +jobs: + assign_one_project: + runs-on: ubuntu-latest + name: Assign to One Project + steps: + - name: Assign NEW issues and NEW pull requests to RocketPy's main project + uses: srggrs/assign-one-project-github-action@1.3.1 + if: github.event.action == 'opened' + with: + project: 'https://github.com/orgs/RocketPy-Team/projects/1' + column_name: '🆕 New' diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.yml new file mode 100644 index 000000000..122a3107d --- /dev/null +++ b/.github/workflows/auto-assign.yml @@ -0,0 +1,14 @@ +name: Auto Assign Issues and PRs once opened +on: + issues: + types: [opened] + pull_request: + types: [opened] +jobs: + run: + runs-on: ubuntu-latest + steps: + - uses: bubkoo/auto-assign@v1 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CONFIG_FILE: .github/auto-assign.yml