From 1b77b4137189e01b8879162d74270c9e139eac06 Mon Sep 17 00:00:00 2001 From: Leo Gagliardi Date: Fri, 29 Aug 2025 15:18:51 +0200 Subject: [PATCH 1/2] Fixed automation for issues and PRs --- .github/pull_request_template.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/pull_request_template.md 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) + + From cf4a29801d39fe8170fc15356a328258e72dab85 Mon Sep 17 00:00:00 2001 From: Leo Gagliardi Date: Fri, 29 Aug 2025 15:40:13 +0200 Subject: [PATCH 2/2] Auto assign action --- .github/auto-assign.yml | 16 ++++++++++++++++ .../auto-assign-author-and-reviewer.yml | 18 ++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 .github/auto-assign.yml create mode 100644 .github/workflows/auto-assign-author-and-reviewer.yml 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/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'