From 9e1c9b3cab5ec8b7f759c24ee88838886d090d83 Mon Sep 17 00:00:00 2001 From: MetaFight <5166127+MetaFight@users.noreply.github.com> Date: Sun, 17 Mar 2024 14:33:32 +0000 Subject: [PATCH 1/4] Enable Netlify redirects. --- Generator/Program.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Generator/Program.cs b/Generator/Program.cs index 5ac0ad0a..87e8ac71 100644 --- a/Generator/Program.cs +++ b/Generator/Program.cs @@ -16,6 +16,7 @@ .Factory //.CreateWeb(args) .CreateDefault(args) + .AddSetting(WebKeys.NetlifyRedirects, true) .AddInputPath("docs") .AddInputPath(inputPath) .SetOutputPath("_site/") From 59dc98fd3a073e5cc23d56b4c1cb6b544f96d0a6 Mon Sep 17 00:00:00 2001 From: MetaFight <5166127+MetaFight@users.noreply.github.com> Date: Sun, 17 Mar 2024 15:23:16 +0000 Subject: [PATCH 2/4] Update dotnet.yml --- .github/workflows/dotnet.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 846caf95..7ebe3d4e 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -14,6 +14,9 @@ on: type: boolean default: true +permissions: + issues: write + env: PR_NUMBER: ${{ github.event.pull_request.number || github.event.issue.number }} From 6807ee2d1e58391a9b4924943639f7032e7d63c0 Mon Sep 17 00:00:00 2001 From: MetaFight <5166127+MetaFight@users.noreply.github.com> Date: Sun, 17 Mar 2024 15:29:37 +0000 Subject: [PATCH 3/4] Update dotnet.yml --- .github/workflows/dotnet.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 7ebe3d4e..a6f15e8b 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -15,6 +15,7 @@ on: default: true permissions: + contents: read issues: write env: From 70ea724ca77bc739e0436f5b5232349b3220ac63 Mon Sep 17 00:00:00 2001 From: MetaFight <5166127+MetaFight@users.noreply.github.com> Date: Sun, 17 Mar 2024 15:34:43 +0000 Subject: [PATCH 4/4] Update dotnet.yml --- .github/workflows/dotnet.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index a6f15e8b..f227bf5d 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -16,6 +16,7 @@ on: permissions: contents: read + pull-requests: write issues: write env: