diff --git a/.github/auto-assign.yml b/.github/auto-assign.yml new file mode 100644 index 000000000..c5fc32a72 --- /dev/null +++ b/.github/auto-assign.yml @@ -0,0 +1,16 @@ +# Assegna l'autore come assignee +addAssignees: author + +# Aggiungi reviewer automaticamente +addReviewers: true + +# Lista dei reviewer da assegnare +reviewers: + - dommy1985 + - gaglileo + +# Numero di assignee da aggiungere (0 = tutti) +numberOfAssignees: 1 + +# Escludi PR in draft (default: false) +runOnDraft: false diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 000000000..08d0169b0 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,14 @@ +### La PR deve avere questo titolo: '[#Numero issue|Ticket Jira] | Breve titolo' + +## ๐Ÿ“– Descrizione + + + +## ๐Ÿ”— Issue Collegata + + + + +## ๐Ÿ“ธ Screenshot (se applicabile) + + diff --git a/.github/workflows/auto-assign-author-and-reviewer.yml b/.github/workflows/auto-assign-author-and-reviewer.yml new file mode 100644 index 000000000..47e05ff52 --- /dev/null +++ b/.github/workflows/auto-assign-author-and-reviewer.yml @@ -0,0 +1,18 @@ +name: 'Auto Author and Reviewer Assign' + +on: + pull_request: + types: [opened, ready_for_review, reopened] + +permissions: + pull-requests: write + +jobs: + assign-author: + runs-on: ubuntu-latest + steps: + - name: 'Auto-assign PR' + uses: kentaro-m/auto-assign-action@v2.0.0 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + configuration-path: '.github/auto-assign.yml'