diff --git a/.github/workflows/prLinter.yml b/.github/workflows/prLinter.yml index 6785565..427a79d 100644 --- a/.github/workflows/prLinter.yml +++ b/.github/workflows/prLinter.yml @@ -22,27 +22,84 @@ jobs: script: >- const prefixes = [ 'INFRA:', + 'MINOR INFRA:', + 'MEDIUM INFRA:', + 'MAJOR INFRA:', 'PROVISIONS:', 'RELEASES:', 'DATA:', + 'MINOR DATA:', + 'MEDIUM DATA:', + 'MAJOR DATA:', 'BROKERS:', + 'MINOR BROKERS:', + 'MEDIUM BROKERS:', + 'MAJOR BROKERS:', 'FOUNDATIONS:', + 'MINOR FOUNDATIONS:', + 'MEDIUM FOUNDATIONS:', + 'MAJOR FOUNDATIONS:', 'PROCESSINGS:', + 'MINOR PROCESSINGS:', + 'MEDIUM PROCESSINGS:', + 'MAJOR PROCESSINGS:', 'ORCHESTRATIONS:', + 'MINOR ORCHESTRATIONS:', + 'MEDIUM ORCHESTRATIONS:', + 'MAJOR ORCHESTRATIONS:', 'COORDINATIONS:', + 'MINOR COORDINATIONS:', + 'MEDIUM COORDINATIONS:', + 'MAJOR COORDINATIONS:', 'MANAGEMENTS:', + 'MINOR MANAGEMENTS:', + 'MEDIUM MANAGEMENTS:', + 'MAJOR MANAGEMENTS:', 'AGGREGATIONS:', + 'MINOR AGGREGATIONS:', + 'MEDIUM AGGREGATIONS:', + 'MAJOR AGGREGATIONS:', 'CONTROLLERS:', + 'MINOR CONTROLLERS:', + 'MEDIUM CONTROLLERS:', + 'MAJOR CONTROLLERS:', 'CLIENTS:', + 'MINOR CLIENTS:', + 'MEDIUM CLIENTS:', + 'MAJOR CLIENTS:', 'EXPOSERS:', + 'MINOR EXPOSERS:', + 'MEDIUM EXPOSERS:', + 'MAJOR EXPOSERS:', 'PROVIDERS:', 'BASE:', + 'MINOR BASE:', + 'MEDIUM BASE:', + 'MAJOR BASE:', 'COMPONENTS:', + 'MINOR COMPONENTS:', + 'MEDIUM COMPONENTS:', + 'MAJOR COMPONENTS:', 'VIEWS:', + 'MINOR VIEWS:', + 'MEDIUM VIEWS:', + 'MAJOR VIEWS:', 'PAGES:', + 'MINOR PAGES:', + 'MEDIUM PAGES:', + 'MAJOR PAGES:', 'ACCEPTANCE:', + 'MINOR ACCEPTANCE:', + 'MEDIUM ACCEPTANCE:', + 'MAJOR ACCEPTANCE:', 'INTEGRATIONS:', + 'MINOR INTEGRATIONS:', + 'MEDIUM INTEGRATIONS:', + 'MAJOR INTEGRATIONS:', 'CODE RUB:', + 'MINOR CODE RUB:', + 'MEDIUM CODE RUB:', + 'MAJOR CODE RUB:', 'MINOR FIX:', 'MEDIUM FIX:', 'MAJOR FIX:', @@ -50,7 +107,23 @@ jobs: 'CONFIG:', 'STANDARD:', 'DESIGN:', - 'BUSINESS:' + 'MINOR DESIGN:', + 'MEDIUM DESIGN:', + 'MAJOR DESIGN:', + 'BUSINESS:', + 'MIGRATIONS:', + 'PLANNING:', + 'MINOR PLANNING:', + 'MAJOR PLANNING:', + 'MENTORSHIP:', + 'MINOR MENTORSHIP:', + 'MAJOR MENTORSHIP:', + 'DISCUSSION:', + 'MINOR DISCUSSION:', + 'MAJOR DISCUSSION:', + 'IMPORTS:', + 'REVIEWS:', + 'STATUS:' ]; @@ -162,12 +235,16 @@ jobs: console.log(`Assigning PR to author: ${author}`); - await github.rest.issues.addAssignees({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: pr.number, - assignees: [author] - }); + try { + await github.rest.issues.addAssignees({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: pr.number, + assignees: [author] + }); + } catch (error) { + console.log(`Unable to assign ${author} as PR assignee: ${error.message}`); + } permissions: contents: read issues: write diff --git a/NEL.MESH.Infrastructure/NEL.MESH.Infrastructure.csproj b/NEL.MESH.Infrastructure/NEL.MESH.Infrastructure.csproj index f14fe4d..22f9393 100644 --- a/NEL.MESH.Infrastructure/NEL.MESH.Infrastructure.csproj +++ b/NEL.MESH.Infrastructure/NEL.MESH.Infrastructure.csproj @@ -10,7 +10,7 @@ - + diff --git a/NEL.MESH.Tests.Acceptance/NEL.MESH.Tests.Acceptance.csproj b/NEL.MESH.Tests.Acceptance/NEL.MESH.Tests.Acceptance.csproj index ae620aa..d9f4c3c 100644 --- a/NEL.MESH.Tests.Acceptance/NEL.MESH.Tests.Acceptance.csproj +++ b/NEL.MESH.Tests.Acceptance/NEL.MESH.Tests.Acceptance.csproj @@ -12,12 +12,12 @@ - - - + + + - + runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/NEL.MESH.Tests.Integration.Witness/NEL.MESH.Tests.Integration.Witness.csproj b/NEL.MESH.Tests.Integration.Witness/NEL.MESH.Tests.Integration.Witness.csproj index 4a5e035..456817a 100644 --- a/NEL.MESH.Tests.Integration.Witness/NEL.MESH.Tests.Integration.Witness.csproj +++ b/NEL.MESH.Tests.Integration.Witness/NEL.MESH.Tests.Integration.Witness.csproj @@ -16,9 +16,9 @@ - - - + + + diff --git a/NEL.MESH.Tests.Integration/NEL.MESH.Tests.Integration.csproj b/NEL.MESH.Tests.Integration/NEL.MESH.Tests.Integration.csproj index 5689e79..431d0aa 100644 --- a/NEL.MESH.Tests.Integration/NEL.MESH.Tests.Integration.csproj +++ b/NEL.MESH.Tests.Integration/NEL.MESH.Tests.Integration.csproj @@ -16,9 +16,9 @@ - - - + + + diff --git a/NEL.MESH.Tests.Unit/NEL.MESH.Tests.Unit.csproj b/NEL.MESH.Tests.Unit/NEL.MESH.Tests.Unit.csproj index 4cbf49c..1d50b16 100644 --- a/NEL.MESH.Tests.Unit/NEL.MESH.Tests.Unit.csproj +++ b/NEL.MESH.Tests.Unit/NEL.MESH.Tests.Unit.csproj @@ -12,9 +12,9 @@ - - - + + + diff --git a/NEL.MESH.UI/NEL.MESH.UI.csproj b/NEL.MESH.UI/NEL.MESH.UI.csproj index ced616a..395ea26 100644 --- a/NEL.MESH.UI/NEL.MESH.UI.csproj +++ b/NEL.MESH.UI/NEL.MESH.UI.csproj @@ -11,10 +11,10 @@ - - - - + + + + diff --git a/NEL.MESH/NEL.MESH.csproj b/NEL.MESH/NEL.MESH.csproj index 368d92b..a536c9b 100644 --- a/NEL.MESH/NEL.MESH.csproj +++ b/NEL.MESH/NEL.MESH.csproj @@ -51,8 +51,8 @@ - - + +